[Libevent-users] [patch] evhttp.h portability + http parsing
noncompliant headers
Charles Kerr
charles at rebelbase.com
Thu Aug 23 11:39:33 EDT 2007
Attached is a two-part patch. First, it makes evhttp.h portable on
mingw and other systems w/o TAILQ_ENTRY by defining the macro itself
if a system header hasn't already defined it. This is the same as
what event.h already does.
The second part is a repeat of the patch I submitted a couple of days
ago that lets libevent's http parser more gracefully handle servers
that don't use the proper \r\n linebreak. Some tracker servers only
return \n, which breaks the current libevent's parsing.
Those servers are causing me quite a headache, but there was no
response to my initial patch. Is this something that's likely to
be considered for use in libevent?
Charles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libevent.patch
Type: text/x-patch
Size: 3090 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20070823/474ef8ed/libevent.bin
More information about the Libevent-users
mailing list