"hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
> Anyone know how to patch to following to support APR 1.2 ?
>
> static apr_status_t
>
> send_headers(request_rec *r, struct sockbuff *s)
>
> {
>
> /* headers to send */
>
> apr_table_t *t;
>
> const apr_array_header_t *hdrs_arr, *env_arr;
>
> apr_table_entry_t *hdrs, *env;
>
> unsigned long int n = 0;
>
> char *buf;
>
> int i;
>
> apr_status_t rv = 0;
>
> apr_port_t port = 0;
>
> apr_sockaddr_port_get(&port, r->connection->remote_addr);
>

Apparently the port can be read off the r->connection object 




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to