[grizzly~git:d2534d86] [2.3.x] Fix test failure.

  • From: rlubke@...
  • To: commits@...
  • Subject: [grizzly~git:d2534d86] [2.3.x] Fix test failure.
  • Date: Thu, 23 May 2013 06:13:51 +0000

Project:    grizzly
Repository: git
Revision:   d2534d86b8d266e502c75fc6ada0615233353998
Author:     rlubke
Date:       2013-05-23 06:13:34 UTC
Link:       

Log Message:
------------
[2.3.x] Fix test failure.



Revisions:
----------
d2534d86b8d266e502c75fc6ada0615233353998


Modified Paths:
---------------
modules/http/src/main/java/org/glassfish/grizzly/http/HttpCodecFilter.java


Diffs:
------
--- 
a/modules/http/src/main/java/org/glassfish/grizzly/http/HttpCodecFilter.java
+++ 
b/modules/http/src/main/java/org/glassfish/grizzly/http/HttpCodecFilter.java
@@ -1253,12 +1253,6 @@ public abstract class HttpCodecFilter extends 
HttpBaseFilter
 
             final HttpContent decodedContent = result.getHttpContent();
 
-            HttpProbeNotifier.notifyContentEncodingParseResult(this,
-                                                               connection,
-                                                               httpHeader,
-                                                               
decodedContent.getContent(),
-                                                               encoding);
-            
             result.recycle();
 
             if (decodedContent == null) {
@@ -1266,6 +1260,12 @@ public abstract class HttpCodecFilter extends 
HttpBaseFilter
                 return null;
             }
 
+            HttpProbeNotifier.notifyContentEncodingParseResult(this,
+                                                               connection,
+                                                               httpHeader,
+                                                               
decodedContent.getContent(),
+                                                               encoding);
+
             httpContent = decodedContent;
         }
         onHttpContentParsed(httpContent, ctx);





[grizzly~git:d2534d86] [2.3.x] Fix test failure.

rlubke 05/23/2013
Terms of Use; Privacy Policy; Copyright ©2013-2017 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close