Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zyearn committed Mar 22, 2016
1 parent 8c3c5bc commit 4e64ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -26,7 +26,7 @@ cd .. && ./build/zaver -c zaver.conf

* HTTP persistent connection
* browser cache
* timer(e.g. close socket when timeout)
* timer(use binary heap instead of rbtree used in Nginx)

## todo

Expand Down
2 changes: 1 addition & 1 deletion src/http.c
Expand Up @@ -241,7 +241,7 @@ static void serve_static(int fd, char *filename, size_t filesize, zv_http_out_t

if (out->keep_alive) {
sprintf(header, "%sConnection: keep-alive\r\n", header);
sprintf(header, "%sKeep-Alive: timeout=%d, max=100\r\n", header, TIMEOUT_DEFAULT);
sprintf(header, "%sKeep-Alive: timeout=%d\r\n", header, TIMEOUT_DEFAULT);
}

if (out->modified) {
Expand Down

0 comments on commit 4e64ee8

Please sign in to comment.