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

remove __currentConnection
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 01:31:05 -0600
parents 4d9fe9cc554d
children c8cd3e96db5f
comparison
equal deleted inserted replaced
976:0697c1219e70 977:d35b0a3a7a4a
46 @Override 46 @Override
47 public void handle() throws IOException 47 public void handle() throws IOException
48 { 48 {
49 try 49 try
50 { 50 {
51 setCurrentConnection(this);
52
53 // do while the endpoint is open 51 // do while the endpoint is open
54 // AND the connection has not changed 52 // AND the connection has not changed
55 while (_endp.isOpen()) 53 while (_endp.isOpen())
56 { 54 {
57 try 55 try
107 } 105 }
108 } 106 }
109 } 107 }
110 finally 108 finally
111 { 109 {
112 setCurrentConnection(null);
113 _parser.returnBuffers(); 110 _parser.returnBuffers();
114 _generator.returnBuffers(); 111 _generator.returnBuffers();
115 } 112 }
116 } 113 }
117 } 114 }