Skip to content

Conversation

@zwoop
Copy link
Contributor

@zwoop zwoop commented Jul 19, 2016

No description provided.

@zwoop
Copy link
Contributor Author

zwoop commented Jul 19, 2016

@bryancall Please review.

@zwoop zwoop added the Logging label Jul 19, 2016
@zwoop zwoop added this to the 7.0.0 milestone Jul 19, 2016
@atsci
Copy link

atsci commented Jul 19, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/452/ for details.

@atsci
Copy link

atsci commented Jul 19, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/347/ for details.

if (config_flags & STANDALONE_COLLATOR) {
config->collation_mode = Log::COLLATION_HOST;
}
init_fields();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both sided of this branch now call init_fields(). Do you want to hoist the call up and simplify?

@zwoop
Copy link
Contributor Author

zwoop commented Jul 20, 2016

Let me take a look, but I was going for the simplest solution that works, with minimal risk. It's pretty finicky on the order :)

@zwoop
Copy link
Contributor Author

zwoop commented Jul 20, 2016

Ah, yeah, I'm pretty sure that entire if() can be safely eliminated (famous last words ...).

@zwoop
Copy link
Contributor Author

zwoop commented Jul 20, 2016

@jpeach @bryancall check the update please.

@atsci
Copy link

atsci commented Jul 20, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/456/ for details.

@atsci
Copy link

atsci commented Jul 20, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/351/ for details.

@jpeach
Copy link
Contributor

jpeach commented Jul 20, 2016

👍

@zwoop zwoop merged commit 6529034 into apache:master Jul 20, 2016
@zwoop zwoop deleted the TS-4652 branch July 20, 2016 03:38
@bryancall
Copy link
Contributor

bryancall commented Jul 20, 2016

👍 - Tested and it is working

JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
Connection error should be stream error according to https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.6

Do not sent EOS or WRITE_COMPLETE to tunnel handlers which are not setup for them in outbound mode
In some cases when shutting down after a self initiated GOAWAY, we will (again) sent WRITE_COMPLETE
or EOS to HttpSM::tunnel_handler. I suspect it is still possible to send the WRITE_COMPLETE or EOS in
some edge cases as the stream state does not reflect one to one to a tunnel handler and will
try to setup tests for this.

Fix assertion crash on cause_of_death_errno in case of parse response headers error

Set end stream on request headers if method post etc & explicit length 0
Some origins RST on request headers with explicit zero length and no end stream flag,
causing the request to fail. We emulate chromium behaviour here with this change to
prevent this

Conflicts:
      proxy/http2/Http2Stream.cc

Co-authored-by: Kees Spoelstra <kd.spoelstra@gmail.com>
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Dec 10, 2024
* Revert "Update set-custom-body response body to exclude headers (apache#780)"

This reverts commit cb552b6.

* Revert "Add set-body-custom to header_rewrite options"

This reverts commit 5bd9999.

* Add set-custom-body config item to header_rewrite (apache#11472)

* Add set-body-custom to header_rewrite options

(cherry picked from commit 5bd9999)
(cherry picked from commit 08c614ef0089b175a5b6cee205b748416efb87cd)

* Update set-custom-body response body to exclude headers (apache#780)

* Update response body to exclude headers

* Update tests to check both response with headers and response body only

* Update header_rewrite_custom_body.test.py

* Fix tests to check headers and body

(cherry picked from commit cb552b6)
(cherry picked from commit e12f4798d0d46bd90c810f8f3a7a067ea3b2c76f)

* Remove debug check due to known issue

(cherry picked from commit 964b12cc21a9a7c3f9d3fd50286e4cd2d2757bcc)

* Fix formatting

Remove whitespaces

doc formatting fix

Doc formatting fix

* Rename to set-body-from

* Add test for failed second call

* Add more test cases

* Clarify test cases

* Update tests

* Update header_rewrite.en.rst

* Fix flakey test

---------

Co-authored-by: Jasmine Emanouel <jemanouel@apple.com>
(cherry picked from commit 0d8a6ac)

* header_rewrite: Allow Txn reenable to be deferred. (apache#11658)

The SetBodyFrom operator needs to defer calling Txn reenable
until the fetch of the URL providing the response body
completes.

(cherry picked from commit 50f5f23)

* cherry-pick cleanup

* cherry-pick cleanup

* Cleanup of header_rewrite redirect operator when invoked globally. (apache#11551)

Also includes new Au test coverage.

(cherry picked from commit 94dfd0e)

* fix return value

---------

Co-authored-by: Jasmine Emanouel <40879549+jasmine-nahrain@users.noreply.github.com>
Co-authored-by: Walt Karas <wkaras@yahooinc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants