tis 2007-03-27 klockan 22:09 +0200 skrev Guido Serassio:

> It's almost clear, but I'm just a little confused on the logical side 
> of the things: use an int argument to check for an unsigned char. 
> Really a confusing prototype .....

The acceptable range is an unsigned char or EOF. EOF is a value outside
the range of unsigned char, usually -1 and therefore the int prototype.
Same kind of value range as you may get from getchar/getch/fgetc.

This whole char / signed char / unsigned char mess is a quite
problematic spot of the C language. Nearly impossible to get signedness
correctly without a lot of headache..

> Henrik, now I don't have a CVS access, if it's not a problem I will 
> fix this in few days.

It's not a problem. The related code (the HTTP parser optimizations) is
not planned to be merged into 2.6 at the moment.

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to