[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpcomponents-commits
Subject:    svn commit: r408098 -
From:       olegk () apache ! org
Date:       2006-05-20 21:29:41
Message-ID: 20060520212942.499411A983A () eris ! apache ! org
[Download RAW message or body]

Author: olegk
Date: Sat May 20 14:29:41 2006
New Revision: 408098

URL: http://svn.apache.org/viewvc?rev=408098&view=rev
Log:
Bug fix

Modified:
    jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/HttpService.java


Modified: jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/HttpService.java
                
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/HttpService.java?rev=408098&r1=408097&r2=408098&view=diff
 ==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/HttpService.java \
                (original)
+++ jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/HttpService.java \
Sat May 20 14:29:41 2006 @@ -129,8 +129,6 @@
                     entity.consumeContent();
                 }
             }
-            
-            postprocessResponse(response, this.context);
         } catch (ConnectionClosedException ex) {
             logMessage("Client closed connection");
             closeConnection();
@@ -143,6 +141,7 @@
             return;
         }
         try {
+            postprocessResponse(response, this.context);
             this.conn.sendResponseHeader(response);
             this.conn.sendResponseEntity(response);
             this.conn.flush();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic