Skip to content

Add header for connection behind proxy#112

Open
jgomezve wants to merge 1 commit into
fbradyirl:mainfrom
jgomezve:jq-proxy-connection
Open

Add header for connection behind proxy#112
jgomezve wants to merge 1 commit into
fbradyirl:mainfrom
jgomezve:jq-proxy-connection

Conversation

@jgomezve

Copy link
Copy Markdown

The modification adds the header "Connection" : "close". This forces the HTTP client, which is used to retrieve messages, not to keep TCP sessions open. The problem with proxies is that they normally close idle TCP sessions, so if the TCP sessions are opened and closed per transaction, then whatever the proxy does does not affect the HTTP client of the bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant