mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
deaddrop: extend timeout as data comes in
This commit is contained in:
parent
e63b3a6348
commit
bedc358dde
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ file_upload_cb(void *data, const char *name, const char *filename,
|
|||
n = write((int)(long long)pss->fd, buf, len);
|
||||
lwsl_debug("%s: write %d says %d\n", __func__,
|
||||
len, n);
|
||||
lws_set_timeout(pss->wsi, PENDING_TIMEOUT_HTTP_CONTENT, 30);
|
||||
}
|
||||
}
|
||||
if (state == LWS_UFS_CONTENT)
|
||||
|
|
Loading…
Add table
Reference in a new issue