0

My Tomcat Websocket Server has the attribute "Connection" double in the reply header for connections via https: "upgrade" and "close". Not for connections via http, only "upgrade" here. This will cause Safari to disconnect. How can I prevent "Connection: close" from appearing in the header?

Connector configuration :

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="" keystorePass="" />

Connection: upgrade and Connection: close

Eugène Adell
  • 3,089
  • 2
  • 18
  • 34
Jan Knoblauch
  • 219
  • 1
  • 3
  • 20

1 Answers1

0

I could solve the problem by changing to Tomcat 9.0.8. I continue to use the same connector configuration.

Jan Knoblauch
  • 219
  • 1
  • 3
  • 20