While patching sockopt.c, I should point out the need for the following
case in the Win32 sockopt.c's apr_socket_opt_set routine:
case APR_SO_SNDBUF:
if (setsockopt(sock->socketdes, SOL_SOCKET, SO_SNDBUF, (void
*)&on, sizeof(int)) == -1) {
return apr_get_netos_error();
* Justin Erenkrantz <[EMAIL PROTECTED]> wrote:
> --On Sunday, April 4, 2004 12:08 AM +0200 André Malo <[EMAIL PROTECTED]>
> wrote:
>
> > It doesn't compile.
> >
> > apr_set_option(sock, APR_IPV6_V6ONLY, on);
>
> Would have saved me about 10 minutes of searching if you had said *which*
> branch
--On Sunday, April 4, 2004 12:08 AM +0200 André Malo <[EMAIL PROTECTED]> wrote:
It doesn't compile.
apr_set_option(sock, APR_IPV6_V6ONLY, on);
Would have saved me about 10 minutes of searching if you had said *which*
branch and OS it didn't compile on. ;-)
Anyhoo, just corrected it on 0.9 branch
* Justin Erenkrantz <[EMAIL PROTECTED]> wrote:
> --On Saturday, April 3, 2004 5:15 PM + [EMAIL PROTECTED] wrote:
>
> > jerenkrantz2004/04/03 09:15:52
> >
> > Modified:.CHANGES
> >network_io/unix sockopt.c
> >network_io/win32 sockopt.c
It does
--On Saturday, April 3, 2004 5:15 PM + [EMAIL PROTECTED] wrote:
jerenkrantz2004/04/03 09:15:52
Modified:.CHANGES
network_io/unix sockopt.c
network_io/win32 sockopt.c
Log:
Even if we do not check the value of APR_IPV6_V6ONLY before setting, we
William A. Rowe, Jr. wrote:
+#ifdef SIOCATMARK
+int oobmark;
+
+if (ioctl(sock->socketdes, SIOCATMARK, (void*) &oobmark) < 0)
+return apr_get_netos_error();
+
+*atmark = (oobmark != 0);
+
+return APR_SUCCESS;
+#else
+return APR_ENOTIMPL;
+#endif
}
Hopefully this provid
At 05:13 PM 10/16/2003, [EMAIL PROTECTED] wrote:
>wrowe 2003/10/16 15:13:03
>
> Modified:.Tag: APR_0_9_BRANCH configure.in
> include Tag: APR_0_9_BRANCH apr.h.in apr.hnw apr.hw
>apr_network_io.h
> include/arch/unix Tag: APR_0_9