pike.git / src / modules / _Roxen / roxen.c

version» Context lines:

pike.git/src/modules/_Roxen/roxen.c:211:    if((in[i] == '\r') && (in[i+1] == '\n'))    i++;    i++;       in += i; l -= i;       headers = allocate_mapping( 5 );    push_mapping(headers);       /* Parse headers. */ -  for(i = 0; i < l; i++) +  for(i = 0; i < l-2; i++)    {    if(!keep_case && (in[i] > 64 && in[i] < 91))    {    in[i]+=32; /* lower_case */    }    else if( in[i] == ':' )    {    /* Does not support white space before the colon. This is in    line with RFC 7230 product    header-field = field-name ":" OWS field-value OWS */