vibe-project / vibe-java-platform

Vibe Java Platform
http://vibe-project.github.io/projects/vibe-java-platform/
Apache License 2.0
6 stars 1 forks source link

Make Vert.x platform pass closeAction_by_server test #9

Closed flowersinthesand closed 10 years ago

flowersinthesand commented 10 years ago

Http module in Vert.x detects disconnection by the client and fires closeHandler but doesn't fire it when it's disconnected by the server.

Consequently in Vibe Java Server installed on Vert.x a socket using longpoll transports can't pass the test, 'should detect the client's disconnection'. The test runner checks it by asking that socket is alive or not, but because socket in server couldn't fire close event on account of this issue, it turns out to be still opened in server so that the test fails.