History log of /trafficserver/proxy/hdrs/MIME.cc (Results 1 - 25 of 210)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 538ad5dc 12-Jun-2020 Unknown

Fix compiler issue with ICC 19.1

Current drop of these compiler with core dump the compiler on this line. This fixes the issues. The compiler teams have been notified and claim it will be fi

Fix compiler issue with ICC 19.1

Current drop of these compiler with core dump the compiler on this line. This fixes the issues. The compiler teams have been notified and claim it will be fixed in upcoming drop

show more ...


# b13e3487 15-May-2020 yangjian

We should remove whitespace from fieldname in http response due to RFC7230:3.2.4(#6793)


Revision tags: 8.0.7, 7.1.10, 7.1.9, 7.1.9-rc1, 8.0.6, 7.1.9-rc0, 8.0.6-rc0
# 8236813e 14-Jan-2020 Fei Deng

TLSv1.3 0-RTT support (#5450)

* TLSv1.3 0-RTT support
TLSv1.3 0-RTT test
TLSv1.3 0-RTT anti-replay
TLSv1.3 0-RTT h2


# 13b48946 19-Oct-2019 Alan M. Carroll

Cleanup: Remove use of obsolete class TSConstBuffer from MIME.cc


Revision tags: 8.0.5, 7.1.8, 8.0.4, 7.1.7, 7.1.7-rc0, 8.0.4-rc0
# 482e30ac 19-Apr-2019 Masakazu Kitajo

Destroy MIMEFieldBlockImpl that doesn't have fields in use

Because MIMEFieldBlocks are destroyed only when MIMEHdr is destroyed, the block
chain never be short. With this change, a block

Destroy MIMEFieldBlockImpl that doesn't have fields in use

Because MIMEFieldBlocks are destroyed only when MIMEHdr is destroyed, the block
chain never be short. With this change, a block will be destroyed when all fields
in a block are deleted, and the block will be removed from a block chain.

show more ...


# cbc46ac4 10-Oct-2019 Masakazu Kitajo

clang-analyzer: Add a null check


# 4cfd5a73 15-Aug-2019 Bryan Call

Ran make clang-tidy


# 9772eb68 26-Jul-2019 Sudheer Vinukonda

Add soft limit for HTTP Request URI and Header field length.
Add a default body_factory template when rejecting a request that's too long

Add the soft limit check for MIME header field n

Add soft limit for HTTP Request URI and Header field length.
Add a default body_factory template when rejecting a request that's too long

Add the soft limit check for MIME header field name as well
And some code cleanup

Fix the default error response body

Fix build failure

Add unit tests

Add docs for the new settings

Adjust the header field size control to include header name and value,
to better align with the RFC definition

Fix build error

Simplify the header field size check inline with the config setting

Fix the condition to match the docs accurately

Fix the condition to match the docs accurately

add new body_factory template to Makefile.am

Fix format typo in Makefile

dummy commit to trigger build which still seems to pick old file

Yet another dummy commit to trigger build

Address more review comments

show more ...


# 9b567e4e 01-Apr-2019 Walter Karas

Add optional normalization of scheme and host to lower case letters in effective URLs.

- Adds new TS API function TSHttpHdrEffectiveUrlBuffGet() (which also puts the URL in a user-allocated

Add optional normalization of scheme and host to lower case letters in effective URLs.

- Adds new TS API function TSHttpHdrEffectiveUrlBuffGet() (which also puts the URL in a user-allocated buffer).
- Adds 'normalized' parameter (defaults to false) to HTTPHdr::url_string_get().
- Adds 'normalized' parameter (defaults to false) to url_print(), url_string_get(), url_string_get_ref().
- Adds 'normalized' parameter (defaults to false) to URL::string_get(), URL::string_get_ref(), URL::print().

This will make it possible to check URLs output by these functions for equivalence by doing a simple string compare.

show more ...


# e51b6efd 16-Jun-2019 Masaori Koshiba

Cleanup debug log in mime_hdr_describe


# 97c3b342 31-May-2019 Leif Hedstrom

Revert "Ran clang-tidy with google-readability-casting"

This reverts commit 58e7e8675c96a5a4eb958a442942892f6e2a0ef4.

I'm reverting this for now, because it's really messing up a bi

Revert "Ran clang-tidy with google-readability-casting"

This reverts commit 58e7e8675c96a5a4eb958a442942892f6e2a0ef4.

I'm reverting this for now, because it's really messing up a big commit that I'm
working on. I'd much prefer that we only run tools such as clang-format (with new
configs) and clang-tidy (with new configs) just before we branch.

show more ...


# 58e7e867 21-May-2019 Bryan Call

Ran clang-tidy with google-readability-casting


# 2f256e55 17-May-2019 Alan M. Carroll

clang analyzer: suppress nullptr derefence report in mime_hdr_sanity_check


Revision tags: 8.0.3, 7.1.6, 8.0.2, 8.0.1, 7.1.5, 7.1.5-rc0, 8.0.1-rc0, 8.0.0, 8.0.0-rc3, 8.0.0-rc2, 8.0.0-rc1, 8.0.0-rc0, 7.1.4, 6.2.3, 7.1.4-rc0, 7.1.3, 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0, 7.1.1, 7.1.1-rc0, 6.2.2, 6.2.2-rc0, 7.1.0, 7.1.0-rc0
# c958234c 01-Jun-2017 Yongjian Xu

Fixes typos in various documentation files


# 5be01341 18-Apr-2019 Brian Olsen

MIMEScanner: only clear m_line buffer if at MIME_PARSE_BEFORE state


# 4621f36e 26-Mar-2019 Leif Hedstrom

Don't allow header values to overflow into negative values

For example, CC: max-age=2147483648 will turn into a negative values
and hence, can not be served out of cache. Since this par

Don't allow header values to overflow into negative values

For example, CC: max-age=2147483648 will turn into a negative values
and hence, can not be served out of cache. Since this parser deals with
proper negative value, it seems reasonable to clamp this to INT_MAX.

This fixes several issue from the cache-tests harness.

show more ...


# f78dcdc7 28-Feb-2019 Alan M. Carroll

MIME: Fix line_is_real false positive.


# 0be4e732 06-Feb-2019 Alan M. Carroll

MIMEScanner: Make MIMEScanner a class, not a POD with free functions.


# ef780ea0 15-Jan-2019 Alan M. Carroll

DFA: Update DFA to use string_view.


# f4944ee4 17-Jan-2019 Alan M. Carroll

MIME: Update MIMEField::name_get and MIMEField::value_get to return string_view.


# 079a4027 30-Aug-2018 Susan Hinrichs

PR #3724: Restructure library headers to unify include paths.


# c29e2916 25-Apr-2018 Leif Hedstrom

Updated to new version of clang-format


# 08512deb 23-Feb-2018 Bryan Call

Return 400 if there is whitespace after the field name and before the
colon


# 94141724 12-Feb-2018 Alan Wang

Handle MIME hdr parsing edge case


# d91662da 04-Aug-2017 Walt Karas

Add support for Forwarded HTTP header tag (RFC7239).


123456789