Skip to content

Conversation

@shukitchan
Copy link
Contributor

@jpeach pls take a look. Thanks.

I want to add enhancement to ts_lua so I can write script to take advantage of the TSRemapOSResponse() related functionality.

Basically it would allow me to do something when origin server fails to connect (such as DNS error, timeout, etc)

@atsci
Copy link

atsci commented Jul 1, 2016

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

@atsci
Copy link

atsci commented Jul 1, 2016

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

@zwoop zwoop added the Lua label Jul 1, 2016
@zwoop zwoop added this to the 7.0.0 milestone Jul 1, 2016
"TS_LUA_SRVSTATE_CONNECTION_ERROR", "TS_LUA_SRVSTATE_INACTIVE_TIMEOUT",
"TS_LUA_SRVSTATE_OPEN_RAW_ERROR", "TS_LUA_SRVSTATE_PARSE_ERROR",
"TS_LUA_SRVSTATE_TRANSACTION_COMPLETE", "TS_LUA_SRVSTATE_CONGEST_CONTROL_CONGESTED_ON_F",
"TS_LUA_SRVSTATE_CONGEST_CONTROL_CONGESTED_ON_M"};
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a ',' before the closing brace to encourage ``clang-format` to format this right.

@shukitchan
Copy link
Contributor Author

@jpeach , I have done the cleanup according to the comments. please take a look. thanks.

@atsci
Copy link

atsci commented Jul 16, 2016

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

@atsci
Copy link

atsci commented Jul 16, 2016

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

"TS_LUA_SRVSTATE_PARSE_ERROR",
"TS_LUA_SRVSTATE_TRANSACTION_COMPLETE",
"TS_LUA_SRVSTATE_CONGEST_CONTROL_CONGESTED_ON_F",
"TS_LUA_SRVSTATE_CONGEST_CONTROL_CONGESTED_ON_M"};
Copy link
Contributor

Choose a reason for hiding this comment

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

Try putting a ',' after the last element to get clang-format to be sensible.

@shukitchan
Copy link
Contributor Author

@jpeach cleanup is done accordingly. pls review.

@atsci
Copy link

atsci commented Jul 18, 2016

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

@atsci
Copy link

atsci commented Jul 18, 2016

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

@atsci
Copy link

atsci commented Jul 18, 2016

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

@atsci
Copy link

atsci commented Jul 18, 2016

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

@jpeach
Copy link
Contributor

jpeach commented Jul 18, 2016

Loods good 👍

@shukitchan shukitchan merged commit e83ff17 into apache:master Jul 19, 2016
JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
bneradt added a commit to bneradt/trafficserver that referenced this pull request Jul 12, 2024
This cherry-picks two PRs from Vinith to 10.0.x from 9.1.x:

* apache#779
* apache#784
masaori335 added a commit to masaori335/trafficserver that referenced this pull request Dec 10, 2024
…e#779)

* Add SO_INCOMING_CPU support to net.sock_option_flag_in (apache#11366)

* Add SO_INCOMING_CPU support to net.sock_option_flag_in

* Fix FreeBSD Build

(cherry picked from commit 266b666)

Conflicts:
	include/iocore/net/NetVCOptions.h
	iocore/eventsystem/I_EThread.h
	iocore/net/Connection.cc

* Fix building without HWLOC (apache#11435)

Fixes apache#11434.

(cherry picked from commit 44a41cb)

---------

Co-authored-by: Masaori Koshiba <masaori@apache.org>
Co-authored-by: JosiahWI <41302989+JosiahWI@users.noreply.github.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