Add support of websocket

This commit is contained in:
Abhijeet Kandalkar 2018-10-11 13:55:58 +05:30 committed by José Dapena Paz
parent feb6e92d59
commit a8c2c83be0

View File

@ -234,6 +234,8 @@ Allow 127.0.0.1
# traffic, as Tinyproxy has no control over what headers are exchanged. # traffic, as Tinyproxy has no control over what headers are exchanged.
# #
#AddHeader "X-My-Header" "Powered by Tinyproxy" #AddHeader "X-My-Header" "Powered by Tinyproxy"
AddHeader "Connection" "Upgrade"
AddHeader "Upgrade" "WebSocket"
# #
# ViaProxyName: The "Via" header is required by the HTTP RFC, but using # ViaProxyName: The "Via" header is required by the HTTP RFC, but using