Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: sse-gateway-plugin
-
Labels:None
-
Similar Issues:
Description
SSE listen endpoint reconnect not being handled properly if an intermediary closes the connection.
Use proxy of some sort (e.g. from the npm "http-proxy" package) ... connect .... kill and then restart the proxy.
Code changed in jenkins
User: tfennelly
Path:
src/main/java/org/jenkinsci/plugins/ssegateway/Endpoint.java
src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcher.java
src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcherFactory.java
src/main/js/ajax.js
src/main/js/index.js
src/main/js/sse-client.js
src/test/js/sse-plugin-no-filter-ispec.js
src/test/js/sse-plugin-with-filter-ispec.js
http://jenkins-ci.org/commit/sse-gateway-plugin/0d8d7f1741955e7f1b7f2408a2a0383438ef8016
Log:
[FIX JENKINS-35137] EventSource reconnect killing old EvenDispatcher and losing channel subs