Fix Netty upgrade to wait for all jobs completion

Too early channel close caused Windows to mark connection as aborted so test client is unable to read close frame
This commit is contained in:
Sergey Mashkov
2020-02-03 18:47:40 +03:00
parent c662dbab33
commit b4957db71a

View File

@@ -99,6 +99,7 @@ internal class NettyHttp1ApplicationResponse(call: NettyApplicationCall,
}
(call as NettyApplicationCall).responseWriteJob.join()
job.join()
context.channel().close()
}