Commit Diff
- Commit:
454f533a210fb18a5bb2521e2b4f258a55f02341
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- reduce the send_response() timeout For some reason this timeout was blocking long enough to make other waiting client connections time out. Reduce the amount of retries.
- Actions:
- Patch | Tree
--- gotwebd/fcgi.c +++ gotwebd/fcgi.c @@ -375,7 +375,7 @@ send_response(struct request *c, int type, const uint8 struct timespec ts; ssize_t nw; size_t padded_len, tot; - int i, err = 0, th = 2000; + int i, err = 0, th = 20; ts.tv_sec = 0; ts.tv_nsec = 50;