"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java-deprecated/org/apache/http/impl/conn/DefaultClientConnection.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

DefaultClientConnection.java  (httpcomponents-client-4.5.6-src):DefaultClientConnection.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 190 skipping to change at line 190
log.debug("Connection " + this + " closed"); log.debug("Connection " + this + " closed");
} }
} catch (final IOException ex) { } catch (final IOException ex) {
log.debug("I/O error closing connection", ex); log.debug("I/O error closing connection", ex);
} }
} }
@Override @Override
protected SessionInputBuffer createSessionInputBuffer( protected SessionInputBuffer createSessionInputBuffer(
final Socket socket, final Socket socket,
final int buffersize, final int bufferSize,
final HttpParams params) throws IOException { final HttpParams params) throws IOException {
SessionInputBuffer inbuffer = super.createSessionInputBuffer( SessionInputBuffer inBuffer = super.createSessionInputBuffer(
socket, socket,
buffersize > 0 ? buffersize : 8192, bufferSize > 0 ? bufferSize : 8192,
params); params);
if (wireLog.isDebugEnabled()) { if (wireLog.isDebugEnabled()) {
inbuffer = new LoggingSessionInputBuffer( inBuffer = new LoggingSessionInputBuffer(
inbuffer, inBuffer,
new Wire(wireLog), new Wire(wireLog),
HttpProtocolParams.getHttpElementCharset(params)); HttpProtocolParams.getHttpElementCharset(params));
} }
return inbuffer; return inBuffer;
} }
@Override @Override
protected SessionOutputBuffer createSessionOutputBuffer( protected SessionOutputBuffer createSessionOutputBuffer(
final Socket socket, final Socket socket,
final int buffersize, final int bufferSize,
final HttpParams params) throws IOException { final HttpParams params) throws IOException {
SessionOutputBuffer outbuffer = super.createSessionOutputBuffer( SessionOutputBuffer outbuffer = super.createSessionOutputBuffer(
socket, socket,
buffersize > 0 ? buffersize : 8192, bufferSize > 0 ? bufferSize : 8192,
params); params);
if (wireLog.isDebugEnabled()) { if (wireLog.isDebugEnabled()) {
outbuffer = new LoggingSessionOutputBuffer( outbuffer = new LoggingSessionOutputBuffer(
outbuffer, outbuffer,
new Wire(wireLog), new Wire(wireLog),
HttpProtocolParams.getHttpElementCharset(params)); HttpProtocolParams.getHttpElementCharset(params));
} }
return outbuffer; return outbuffer;
} }
 End of changes. 7 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)