Closed GoogleCodeExporter closed 9 years ago
The apr_get_netos_error() returns the error why getsockopt failed. It might be
better to remove that case and handle getsockopt errors and the general case
with a new serf errorcode.
Original comment by b...@qqmail.nl
on 24 Jun 2013 at 7:11
I couldn't reproduce this issue on Mac OS X or Linux, only on Windows. I've
updated the patch a bit to make it build without warnings (apr_os_sock_get
takes a *apr_os_sock_t, not **apr_os_sock_t), tested it in Windows and it works
as expected.
I've left the APR_EGENERAL as is for now, can't introduce new error codes in
1.2.x anyway. If I don't forget I'll cleanup all APR_EGENERAL return locations
before 1.3.
Thanks Bert.
Lieven
Original comment by lieven.govaerts@gmail.com
on 24 Jun 2013 at 8:35
Original issue reported on code.google.com by
b...@qqmail.nl
on 24 Jun 2013 at 7:10