Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/BlockingHttpConnection.java @ 934:fe461f7cfc8e
simplify AsyncContinuation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 21:03:00 -0600 |
parents | ad495e897c32 |
children | 866f2e801618 |
comparison
equal
deleted
inserted
replaced
933:c9513d80f305 | 934:fe461f7cfc8e |
---|---|
116 _endp.shutdownOutput(); | 116 _endp.shutdownOutput(); |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 // If we don't have a committed response and we are not suspended | 120 // If we don't have a committed response and we are not suspended |
121 if (_endp.isInputShutdown() && _generator.isIdle() && !_request.getAsyncContinuation().isSuspended()) | 121 if (_endp.isInputShutdown() && _generator.isIdle()) |
122 { | 122 { |
123 // then no more can happen, so close. | 123 // then no more can happen, so close. |
124 _endp.close(); | 124 _endp.close(); |
125 } | 125 } |
126 } | 126 } |