Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I wrote some time ago:
> I worte some time ago:
>> I tried to compile mod_webkit2 with apache-2.0.52 and got an error=20
>> (mod_webkit.c:244: error: too few arguments to function=20
>> `apr_socket_create'). I use gcc-3.3.5 (although I think, it doesn't=20
>> meter in this case). Could you help me with that? Does the Apache API=20
>> get change since 2.0.52 (I used to use mod_webkit2 with any problems=20
>> some times ago till I upgrade apache).
> OK. It was problem in apr-1.0.0 not in Apache. It seems like they=20
> don't like APR_BRIGADE_FOREACH macro any more. And there is an extra=20
> argument in apr_socket_create function to specify protocol of the=20
> socket. It can have one of value: APR_PROTO_TCP, APR_PROTO_UDP or=20
> APR_PROTO_SCTP. Which one should be used in mod_webkit2 ??
> I attach a patch for file mod_webkit.c. I use APR_PROTO_TCP value for=20
> that extra argument. The module builds now but I have not tested it yet=
> and http://apr.apache.org/docs/apr/group__apr__network__io.html#ga6
Well. I did tests and I found out that there are no more apr_send and=20
apr_connect functions in apr-1.0.0. We should use apr_socket_send and=20
apr_socket_connect instead. I atach new version of my patch.
PS. CC: webware-devel as it is right place