This undocumented configuration was never expected to work and
resulted in immediate segfaults.
Reported by ret2ddme.
+ if (ngx_strcasecmp(value[1].data, (u_char *) "utf-8") == 0) {
+ ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
+ "\"charset_map\" with \"utf-8\" charset "
+ "should be given in the second column");
+ return NGX_CONF_ERROR;
+ }
+
table = mcf->tables.elts;
for (i = 0; i < mcf->tables.nelts; i++) {
if ((src == table->src && dst == table->dst)
table = mcf->tables.elts;
for (i = 0; i < mcf->tables.nelts; i++) {
if ((src == table->src && dst == table->dst)