Fork me on GitHub
#immutant
<
2017-05-15
>
tcrawley17:05:43

@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

tcrawley17:05:00

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

tcrawley17:05:27

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

tcrawley17:05:31

what are you using to test with?

bostonaholic17:05:45

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.

tcrawley17:05:10

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

tcrawley17:05:18

just to demonstrate what I'm seeing

bostonaholic17:05:33

that’d be super helpful

tcrawley17:05:40

k, give me a few minutes

bostonaholic15:05:26

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

tcrawley16:05:26

Good deal, and my pleasure!

bostonaholic17:05:38

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

tcrawley17:05:06

coolio, no rush