Thank you.  Especially for the addition to the regression test.
Both patches submitted to trunk.

Niels.

On 1/12/07, Philip Lewis <[EMAIL PROTECTED]> wrote:
make_socket() in http.c takes the port as a short instead of an
unsigned short, so ports higher than 32767 become a negative number in
the string given to getaddrinfo(), which fails.

Also, getaddrinfo() uses the return code instead of errno, so it fails
with "[warn] getaddrinfo: Success". getnameinfo() also returns errors
this way.

Patch fixes both.


_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users




_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to