History log of /trafficserver/proxy/hdrs/HTTP.cc (Results 1 - 25 of 178)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4cfd5a73 15-Aug-2019 Bryan Call

Ran make clang-tidy


Revision tags: 8.0.4, 7.1.7
# 19e80414 18-Jul-2019 Randall Meyer

Removes unreferenced, unused bits of code


# 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 ...


Revision tags: 7.1.7-rc0, 8.0.4-rc0
# 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 ...


# 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


# 7651e269 19-Mar-2019 Masaori Koshiba

Ran clang-tidy with modernize-use-default-member-init

1. Remove unmatched #endif and set `_location` nullptr.
- iocore/eventsystem/I_IOBuffer.h
- iocore/eventsystem/P_IOBuffer.h

Ran clang-tidy with modernize-use-default-member-init

1. Remove unmatched #endif and set `_location` nullptr.
- iocore/eventsystem/I_IOBuffer.h
- iocore/eventsystem/P_IOBuffer.h

2. Include "ts/apidefs.h"
- include/tscpp/api/Stat.h

3. Rollback changes made with -fix-error option (clang-diagnostic-implicit-function-declaration)
- plugins/lua/ts_lua_client_request.c
- plugins/lua/ts_lua_client_response.c
- plugins/lua/ts_lua_server_response.c
- plugins/experimental/remap_stats/remap_stats.c

show more ...


Revision tags: 8.0.3
# cb2382db 26-Feb-2019 scw00

Fixed the compatibility with previous cache verison


# d91ca9ee 05-Mar-2019 rienzi2012 <51553316@qq.com>

fix crash in CacheVC::openReadFromWriter


# f202f849 05-Mar-2019 Susan Hinrichs

Fixing a previous fix to fully allocate strings when heap mismatch detected.


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

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


# 8213ca02 07-Feb-2019 Alan M. Carroll

HdrHeap: refresh for C++17.


# 42ca9435 28-Jan-2019 scw00

Avoid ats_malloc in unmarshal


# 2ab930c3 04-Feb-2019 Alan M. Carroll

Cleanup: Convert HTTPHdr::length_get to real method.


# b9f29f0c 28-Jan-2019 Alan M. Carroll

Fix TSHttpTxnEffectiveUrlStringGet to correctly set the port when it is non-standard.


Revision tags: 7.1.6
# ad32dd24 17-Jan-2019 Leif Hedstrom

Removes proxy.config.http.parse.allow_non_http

In addition, it changes the default / code such that we do not
allow parse failues on the HTTP/ version parsing.


Revision tags: 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
# 079a4027 30-Aug-2018 Susan Hinrichs

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


Revision tags: 7.1.4, 6.2.3, 7.1.4-rc0
# f6cb212e 21-Jun-2018 Susan Hinrichs

Clone the url object into the new heap


# f692c201 16-May-2018 Bryan Call

Replace ts::string_view with std::string_view


Revision tags: 7.1.3
# 44af6e5b 05-Mar-2018 Bryan Call

Respond with 400 code when Content-Length headers mismatch, remove
duplicate copies of the Content-Length header with exactly same values,
and remove Content-Length headers if Transfer-Encodi

Respond with 400 code when Content-Length headers mismatch, remove
duplicate copies of the Content-Length header with exactly same values,
and remove Content-Length headers if Transfer-Encoding header exists.

show more ...


# b729070a 06-Feb-2018 John Plevyak <--get-all>

Correct clear and assign of FIPS cache keys in HTTPInfo.


Revision tags: 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0
# 1a9944ce 05-Nov-2017 Masaori Koshiba

TS-5057: Add 103 Early Hints support


# a5366d79 24-Sep-2017 Alan M. Carroll

Cleanup: remove ts::ConstBuffer from ink_inet.
This turns out to have a lot of tentacles all over.


# e638e7dd 20-Sep-2017 Phil Sorber

Use std::min and std::max globally


Revision tags: 7.1.1
# 25a0de40 22-Aug-2017 Oknet Xu

Out-of-bounds while get port from host field


12345678