serving icon indicating copy to clipboard operation
serving copied to clipboard

Bump gorilla websocket to 1.5.1+

Open nak3 opened this issue 2 years ago • 5 comments

/area build

Since upstream gorilla websocket changed SetCloseHandler to handle a returned error from WriteControl():

https://github.com/gorilla/websocket/blob/666c197fc9157896b57515c3a3326c3f8c8319fe/conn.go#L1166-L1168

serving's unit test TestServerShutdown() started failing as websocket does not return CloseError. We temporary pin to gorilla websocket to 1.5.0 but should be fixed.

Please refer to https://github.com/knative/serving/pull/14588 for the error log.

nak3 avatar Nov 07 '23 06:11 nak3

Working in progress https://github.com/gorilla/websocket/pull/863

nak3 avatar Dec 01 '23 10:12 nak3

Ugh... https://github.com/gorilla/websocket/pull/863 was merged but there is still a log noise issue https://github.com/gorilla/websocket/issues/880 in 1.5.1...

nak3 avatar Jan 31 '24 08:01 nak3

Thanks, we'll track https://github.com/gorilla/websocket/issues/880 then.

ReToCode avatar Jan 31 '24 08:01 ReToCode

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jun 03 '24 01:06 github-actions[bot]

/remove-lifecycle stale

ReToCode avatar Jun 03 '24 05:06 ReToCode