List Info

Thread: LDAP validator




LDAP validator
user name
2006-09-09 16:46:42
José Parrella wrote:
> 
> Alvaro Lopez Ortega escribió:
> >   I'm glad to announce that, a few minutes ago,
the new LDAP validator
> >   landed in the unstable branch (which eventually
will become Cherokee
> >   0.6):
> 
> I've been testing the LDAP validator in 0.6.0b396
today. This is my
> relevant configuration lines:
>	.
>	.
>	.
> By the way, I tried to lynx to the address in [1] and
lynx showed:
> 
> <lynx response>
>    HTTP/1.1 Connection: Close Date: Sat, 09 Sep 2006
11:13:06 GMT--4
> Server: Cherokee/0.6.0b396 (UNIX) Content-Type:
text/html
> Content-length: 250 Cache-Control:
>    no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR
NOR UNI
> 
>    The length of request entity exceeds the capacity
limit for this server.
> </lynx response>
> 
> And the server spew:
> 
> <Cherokee's alert>
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> </Cherokee's alert>

Add a:

	PRINT_ERROR("code %d\n", code);

just before the macro SHOULDNT_HAPPEN near line 154 of
http.c,
so we can know about the unknown HTTP status code.

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
--
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )