comparison src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 977:d35b0a3a7a4a

remove __currentConnection
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 01:31:05 -0600
parents 5ee36654b383
children bdb6eb0fbf93
comparison
equal deleted inserted replaced
976:0697c1219e70 977:d35b0a3a7a4a
57 boolean some_progress = false; 57 boolean some_progress = false;
58 boolean progress = true; 58 boolean progress = true;
59 59
60 try 60 try
61 { 61 {
62 setCurrentConnection(this);
63
64 // While progress and the connection has not changed 62 // While progress and the connection has not changed
65 while (progress) 63 while (progress)
66 { 64 {
67 progress=false; 65 progress=false;
68 try 66 try
129 } 127 }
130 } 128 }
131 } 129 }
132 finally 130 finally
133 { 131 {
134 setCurrentConnection(null);
135
136 // return buffers 132 // return buffers
137 _parser.returnBuffers(); 133 _parser.returnBuffers();
138 _generator.returnBuffers(); 134 _generator.returnBuffers();
139 135
140 // Safety net to catch spinning 136 // Safety net to catch spinning