2006/5/4, Alvaro Lopez Ortega <[EMAIL PROTECTED]>:
Of course, I know it is not frequent ( I guess it is less than 1%, 0.001% ? ). The reason of my first mail is that I prefer things working well in 100% of cases :-P
I have no time for thinking about it (exams ;-) but I'll do it. In a quick look at the code I only guess two ways for doing it, and I don't like any of them.
Ok
Greetings,
Diego
This is a known unsupported corner case. Let me explain the reasons:
- In first place, almost all the request that a Web Server receives
don't include the URI in the request, something like this:
GET / HTTP/1.1
Host: www.alobbs.com
so, there is no need of parsing the URL, simple because the
request and the Host header entry let the server know everything
it needs. I guess 99% of the request a common server receives are
not using full URLs as request.
- It only happen when the request doesn't request any object.
Of course, I know it is not frequent ( I guess it is less than 1%, 0.001% ? ). The reason of my first mail is that I prefer things working well in 100% of cases :-P
I would be happy to improve the support of this corner case, but it
would need some quite big changes in the header.c code, and probably
it would slow down a little bit the current code, so I think it
doesn't worth supporting the case.
Anyway, it someone finds out a way in which we can support it with
messing up the code or slowing down the header parsing I'll more
than happy to apply the patch.
I have no time for thinking about it (exams ;-) but I'll do it. In a quick look at the code I only guess two ways for doing it, and I don't like any of them.
The SVN trunk version is currently upside down. I have been working
in some HUGE changes for Cherokee 0.6, so we will need to start
working with pre-releases within a month or two in order to
stabilize all the new code :-)
Ok
Greetings,
Diego
_______________________________________________ Cherokee mailing list [email protected] http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
