-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

A.D.F. schreef:
> The only drawback of this solution is that it is still
> not fully standard compliant;
> in theory after HTTP method name there could also be
> a TAB instead of a SPACE,
> in practice no sane client put a TAB after HTTP request method,
> so it should work well for 0.6.x releases.

What about doing the compare on str (not on str" "), this should be ==
0, then doing a (line[sizeof(str)] == ' ' || line[sizeof(str)] == '\t').
(Now I wonder if it should be sizeof(str) or +1, but the idea is clear).


> I have just committed svn revision 925 with that change.

(I confirm it works.)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/BRlYH1+F2Rqwn0RCo2tAJkBSVNysS1JlBIQ46H2obl1s5zZAwCcD1dF
6i76W6M0y34knnSc92ITwZU=
=hVrB
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to