Commit Diff
- Commit:
8e4e8ad9d5dbc693ebf07a2b9b02e13f993fa7114cbc56b4f94ce52a98b00598- From:
- Stefan Sperling <stsp@stsp.name>
- 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 @@ -373,7 +373,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;
