context.c (253895) | context.c (262324) |
---|---|
1/* Copyright 2002-2004 Justin Erenkrantz and Greg Stein 2 * 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * --- 271 unchanged lines hidden (view full) --- 280 ignore, the application can safely retry. */ 281 if (APR_STATUS_IS_EINTR(status)) 282 return APR_SUCCESS; 283 284 /* ### do we still need to dispatch stuff here? 285 ### look at the potential return codes. map to our defined 286 ### return values? ... 287 */ | 1/* Copyright 2002-2004 Justin Erenkrantz and Greg Stein 2 * 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * --- 271 unchanged lines hidden (view full) --- 280 ignore, the application can safely retry. */ 281 if (APR_STATUS_IS_EINTR(status)) 282 return APR_SUCCESS; 283 284 /* ### do we still need to dispatch stuff here? 285 ### look at the potential return codes. map to our defined 286 ### return values? ... 287 */ |
288 289 /* Use the strict documented error for poll timeouts, to allow proper 290 handling of the other timeout types when returned from 291 serf_event_trigger */ 292 if (APR_STATUS_IS_TIMEUP(status)) 293 return APR_TIMEUP; /* Return the documented error */ |
|
288 return status; 289 } 290 291 while (num--) { 292 serf_connection_t *conn = desc->client_data; 293 294 status = serf_event_trigger(ctx, conn, desc); 295 if (status) { --- 84 unchanged lines hidden --- | 294 return status; 295 } 296 297 while (num--) { 298 serf_connection_t *conn = desc->client_data; 299 300 status = serf_event_trigger(ctx, conn, desc); 301 if (status) { --- 84 unchanged lines hidden --- |