Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 934:fe461f7cfc8e
simplify AsyncContinuation
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sun, 09 Oct 2016 21:03:00 -0600 |
| parents | 23a57aad34c0 |
| children | 1094975d013b |
comparison
equal
deleted
inserted
replaced
| 933:c9513d80f305 | 934:fe461f7cfc8e |
|---|---|
| 173 } | 173 } |
| 174 | 174 |
| 175 public void onInputShutdown() throws IOException | 175 public void onInputShutdown() throws IOException |
| 176 { | 176 { |
| 177 // If we don't have a committed response and we are not suspended | 177 // If we don't have a committed response and we are not suspended |
| 178 if (_generator.isIdle() && !_request.getAsyncContinuation().isSuspended()) | 178 if (_generator.isIdle()) |
| 179 { | 179 { |
| 180 // then no more can happen, so close. | 180 // then no more can happen, so close. |
| 181 _endp.close(); | 181 _endp.close(); |
| 182 } | 182 } |
| 183 | 183 |
