Merge pull request #5267 from eclipse/jetty-9.4.x-4954-minimal-bytecode-exposure

Issue #4954 - Expose header size/length from HttpParser
This commit is contained in:
Joakim Erdfelt 2020-09-15 14:32:49 -05:00 committed by GitHub
commit 78bf1fb410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -365,6 +365,11 @@ public class HttpParser
return _contentPosition; return _contentPosition;
} }
public int getHeaderLength()
{
return _headerBytes;
}
/** /**
* Set if a HEAD response is expected * Set if a HEAD response is expected
* *