comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 877:fef4392f4905

remove sendServerVersion
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 14:36:51 -0600
parents 86338c0029a9
children 5f8a242392da
comparison
equal deleted inserted replaced
876:2efdb98f3543 877:fef4392f4905
158 _requestFields = new HttpFields(); 158 _requestFields = new HttpFields();
159 _responseFields = new HttpFields(); 159 _responseFields = new HttpFields();
160 _request = new Request(this); 160 _request = new Request(this);
161 _response = new Response(this); 161 _response = new Response(this);
162 _generator = newHttpGenerator(ab.getResponseBuffers(), endpoint); 162 _generator = newHttpGenerator(ab.getResponseBuffers(), endpoint);
163 _generator.setSendServerVersion(server.getSendServerVersion());
164 _server = server; 163 _server = server;
165 } 164 }
166 165
167 /* ------------------------------------------------------------ */ 166 /* ------------------------------------------------------------ */
168 protected AbstractHttpConnection(Connector connector, EndPoint endpoint, Server server, 167 protected AbstractHttpConnection(Connector connector, EndPoint endpoint, Server server,
176 _requestFields = new HttpFields(); 175 _requestFields = new HttpFields();
177 _responseFields = new HttpFields(); 176 _responseFields = new HttpFields();
178 _request = request; 177 _request = request;
179 _response = new Response(this); 178 _response = new Response(this);
180 _generator = generator; 179 _generator = generator;
181 _generator.setSendServerVersion(server.getSendServerVersion());
182 _server = server; 180 _server = server;
183 } 181 }
184 182
185 protected HttpParser newHttpParser(Buffers requestBuffers, EndPoint endpoint, HttpParser.EventHandler requestHandler) 183 protected HttpParser newHttpParser(Buffers requestBuffers, EndPoint endpoint, HttpParser.EventHandler requestHandler)
186 { 184 {