This patch fix problems with mod_webkit2 and apr-1.0.0.
Like I said on webware-devel:
"It seems like they don't like APR_BRIGADE_FOREACH
macro any more. And there is an extra argument in
apr_socket_create function to specify protocol of the
socket. It can have one of value: APR_PROTO_TCP,
APR_PROTO_UDP or APR_PROTO_SCTP."
I choose APR_PROTO_TCP in this patch.
And we should use apr_socket_send and
apr_socket_connect functions instead of apr_send and