Each apr_pollset_poll modified *out_pfd, so we need to copy it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1605307 13f79535-47bb-0310-9956-
ffa450edef68
/* We only signal once per N sockets with this baton */
if (!(baton->signaled)) {
+ apr_pollfd_t *newpfd = apr_palloc(out_pfd->p, sizeof(apr_pollfd_t));
baton->signaled = 1;
+ *newpfd = *out_pfd;
te = event_get_timer_event(-1 /* fake timer */,
socket_callback_wrapper,
- (apr_pollfd_t *)out_pfd,
+ newpfd,
0, /* don't insert it */
NULL /* no associated socket callback */);
/* remove other sockets in my set */