[Libevent-users] [patch] evhttp.h portability + http parsing noncompliant headers

Niels Provos provos at citi.umich.edu
Fri Aug 24 10:38:16 EDT 2007


Hi Charles,

thanks for your patches.  We are going to integrate them in some form
into a trunk - I'll probably have to massage them a little bit.

Niels.

On 8/23/07, Charles Kerr <charles at rebelbase.com> wrote:
> 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
> _______________________________________________
> Libevent-users mailing list
> Libevent-users at monkey.org
> http://monkey.org/mailman/listinfo/libevent-users
>
>
>


More information about the Libevent-users mailing list