[Libevent-users] Re: No Date header in HTTP/1.1 response
Nick Mathewson
nickm at freehaven.net
Thu Sep 6 21:23:27 EDT 2007
On Thu, Aug 23, 2007 at 12:14:09PM +0200, Ralph Moritz wrote:
> On 23/08/07, Jan Kneschke <jan at kneschke.de> wrote:
> > This patch will break on non C99 compilers with mixed declaration/code
> > errors. Please move the declarations up to the start of this block.
>
> Thanks for spotting that. New patch below. Hopefully this one's
> kosher.
Thanks! I've checked in to trunk and to the 1.3 branch, with the
following changes:
- Now, it only adds the Date header if there is not a Date header
already.
- On Windows, it uses gmtime() instead of gmtime_r(). (Windows has
no gmtime_r(), but that's okay since its gmtime() uses
thread-local storage to achieve thread-safety. Hooray for
cross-platform programming, such as it is.)
Please try it out and let us know if there are any problems?
yrs,
--
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20070906/31d7bfa2/attachment.bin
More information about the Libevent-users
mailing list