immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
2017-05-15T17:12:43.761121Z

@bostonaholic: looks like the issue on my end is the jersey sse client we use when testing - it doesn't actually close the socket on close, so the server can't detect a close when send! is called

2017-05-15T17:13:00.767843Z

the event that should trigger the :on-close just gets swallowed by the client

2017-05-15T17:13:27.778906Z

if I test with a browser, and close the tab mid sse stream, :on-close does get called

2017-05-15T17:13:31.780669Z

what are you using to test with?

bostonaholic 2017-05-15T17:20:00.938853Z

browser

bostonaholic 2017-05-15T17:20:45.957564Z

but I didn’t do an exhaustive test to check if on-close wasn’t being called. It didn’t seem like it, at first.

2017-05-15T17:21:10.968426Z

I can throw together a simple test app if you are willing to try it

2017-05-15T17:21:18.971580Z

just to demonstrate what I'm seeing

bostonaholic 2017-05-15T17:21:33.977865Z

that’d be super helpful

2017-05-15T17:21:40.980496Z

k, give me a few minutes

2017-05-15T17:42:18.486811Z

@bostonaholic give https://github.com/tobias/immutant-631 a try and see how it behaves for you

bostonaholic 2017-05-18T15:50:26.762083Z

tcrawley: works for me. Thanks for putting this together.

2017-05-18T16:18:26.522816Z

Good deal, and my pleasure!

bostonaholic 2017-05-15T17:46:38.589964Z

thanks @tcrawley. I’ll try to take a look at it later to today and get back with you.

2017-05-15T17:47:06.601182Z

coolio, no rush