Skip to content

Commit

Permalink
http: document master's keep-alive related option http11-socket
Browse files Browse the repository at this point in the history
  • Loading branch information
depaolim authored and xrmx committed Nov 15, 2015
1 parent 2d5b92a commit 59c60fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions HTTP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ If your backends set the correct HTTP headers, you can use the
Also remember to set "Connection: Keep-Alive" in your response. You can
automate that using the ``add-header "Connection: Keep-Alive"`` option.

Since uWSGI 2.1 (master branch) you can use the ``http11-socket`` option.
``http11-socket`` may replace the ``add-header`` and ``http-keepalive`` options
(but it doesn't touch tcp stuff as so ``so-keepalive`` does).
Once set the server will try to maintain the connection opened if a bunch of
rules are respected. This is not a smart http 1.1 parser (to avoid parsing the
whole response) but assumes the developer is generating the right headers.
``http11-socket`` has been added to support RTSP protocol for video streaming.

HTTP auto gzip
-------------

Expand Down

0 comments on commit 59c60fa

Please sign in to comment.