ASF Bugzilla – Attachment 17839 Details for
Bug 38861
ApacheBench: write_request returns after EAGAIN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for handling of EAGAIN and totalposted in write_request
ab.patch (text/plain), 676 bytes, created by
Stefan Fleiter
on 2006-03-06 09:51:16 UTC
(
hide
)
Description:
Patch for handling of EAGAIN and totalposted in write_request
Filename:
MIME Type:
Creator:
Stefan Fleiter
Created:
2006-03-06 09:51:16 UTC
Size:
676 bytes
patch
obsolete
>--- ab.c.org 2006-03-06 10:04:09.770098225 +0100 >+++ ab.c 2006-03-06 10:14:07.323460649 +0100 >@@ -642,6 +642,8 @@ > #endif > e = apr_socket_send(c->aprsock, request + c->rwrote, &l); > >+ totalposted += l; >+ > /* > * Bail early on the most common case > */ >@@ -656,14 +658,13 @@ > epipe++; > printf("Send request failed!\n"); > close_connection(c); >+ return; > } >- return; > } > c->rwrote += l; > c->rwrite -= l; > } while (1); > >- totalposted += c->rwrite; > c->state = STATE_READ; > c->endwrite = apr_time_now(); > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38861
: 17839