| title: | users httpd Re apr sockaddr port get |
|
"hv @ Fashion Content" <info@xxxxxxxxxxxxxxxxxx skrev i en meddelelse
rel="nofollow" news:egr5gb$spt$1@xxxxxxxxxxxxxxxx news:egr5gb$spt$1@xxxxxxxxxxxxxxxx
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: rel="nofollow" httpd.apache.org/userslist.html httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
|