eclipse-vertx / vertx-http-proxy

vertx http proxy
Eclipse Public License 2.0
55 stars 36 forks source link

Failure when proxying websocket upgrade sent by Firefox #105

Closed tsegismont closed 2 weeks ago

tsegismont commented 2 weeks ago

Failure when proxying websocket upgrade sent by Firefox:

17:39:24.012 [vert.x-eventloop-thread-0] ERROR io.vertx.core.net.impl.ConnectionBase - Invalid object AdaptivePoolingAllocator$AdaptiveByteBuf(freed)

As a workaround, create an interceptor and change the request connection header:

headers.set(CONNECTION, UPGRADE);

FF is known to send a Connection=keep-alive, Upgrade, that is probably the cause of this issue.

tsegismont commented 2 weeks ago

Fixed by #107