ASF Bugzilla – Attachment 34449 Details for
Bug 60376
Http Test Script Recorder : If deflate is used by server then recording may break application
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing issue
BUG_60376.patch (text/plain), 1.85 KB, created by
Philippe Mouawad
on 2016-11-15 18:45:34 UTC
(
hide
)
Description:
Patch fixing issue
Filename:
MIME Type:
Creator:
Philippe Mouawad
Created:
2016-11-15 18:45:34 UTC
Size:
1.85 KB
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (revision 1769681) >+++ src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (working copy) >@@ -531,7 +531,9 @@ > } > if (HTTPConstants.HEADER_CONTENT_ENCODING.equalsIgnoreCase(parts[0]) > && >- HTTPConstants.ENCODING_GZIP.equalsIgnoreCase(parts[1]) >+ (HTTPConstants.ENCODING_GZIP.equalsIgnoreCase(parts[1]) || >+ HTTPConstants.ENCODING_DEFLATE.equalsIgnoreCase(parts[1]) || >+ HTTPConstants.ENCODING_BROTLI.equalsIgnoreCase(parts[1])) > ){ > headerLines[i] = null; // We don't want this passed on to browser > fixContentLength = true; >Index: src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java (revision 1769681) >+++ src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java (working copy) >@@ -64,7 +64,10 @@ > String HEADER_CONTENT_ENCODING = "content-encoding"; // $NON-NLS-1$ > String HTTP_1_1 = "HTTP/1.1"; // $NON-NLS-1$ > String HEADER_SET_COOKIE = "set-cookie"; // $NON-NLS-1$ >+ String ENCODING_BROTLI = "br"; // $NON-NLS-1$ >+ String ENCODING_DEFLATE = "deflate"; // $NON-NLS-1$ > String ENCODING_GZIP = "gzip"; // $NON-NLS-1$ >+ > String HEADER_CONTENT_DISPOSITION = "Content-Disposition"; // $NON-NLS-1$ > String HEADER_CONTENT_TYPE = "Content-Type"; // $NON-NLS-1$ > String HEADER_CONTENT_LENGTH = "Content-Length"; // $NON-NLS-1$
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60376
: 34449 |
34450