diff options
Diffstat (limited to 'contrib/serf/context.c')
-rw-r--r-- | contrib/serf/context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/serf/context.c b/contrib/serf/context.c index c219264..b53b0a0 100644 --- a/contrib/serf/context.c +++ b/contrib/serf/context.c @@ -285,6 +285,12 @@ apr_status_t serf_context_run( ### look at the potential return codes. map to our defined ### return values? ... */ + + /* Use the strict documented error for poll timeouts, to allow proper + handling of the other timeout types when returned from + serf_event_trigger */ + if (APR_STATUS_IS_TIMEUP(status)) + return APR_TIMEUP; /* Return the documented error */ return status; } |