-
Notifications
You must be signed in to change notification settings - Fork 845
TS-4070 RemapProcessor Forward Mapping w/ Recv Port failing w/ TS-2157 #375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
proxy/http/remap/RemapProcessor.cc
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also update the debug message to use the same port you changed it to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also update the debug message to match the port update?
…7 changes During the rework of RemapProcessor.cc, RemapProcessor::setup_for_remap() as part of the TS-2157 changeset, the port access API appears to have been incorrectly modified to use the client_info.src_addr.host_order_port() API [source port, host order] instead of the client_info.dst_addr.port() [destination/receive port, network order] API. This caused port based remapping based on the receive port to fail with ATS 6.0.0.
|
Change made as requested. Not sure how I missed that on the original change but in any case its fixed now :-) |
…57 changes. This closes #375. During the rework of RemapProcessor.cc, RemapProcessor::setup_for_remap() as part of the TS-2157 changeset, the port access API appears to have been incorrectly modified to use the client_info.src_addr.host_order_port() API [source port, host order] instead of the client_info.dst_addr.port() [destination/receive port, network order] API. This caused port based remapping based on the receive port to fail with ATS 6.0.0. (cherry picked from commit 894ef7f)
…57 changes. This closes apache#375. During the rework of RemapProcessor.cc, RemapProcessor::setup_for_remap() as part of the TS-2157 changeset, the port access API appears to have been incorrectly modified to use the client_info.src_addr.host_order_port() API [source port, host order] instead of the client_info.dst_addr.port() [destination/receive port, network order] API. This caused port based remapping based on the receive port to fail with ATS 6.0.0. Conflicts: lib/luajit
* asf/master: Doc: Typo "inorder" -> "in order" TS-4097: clang-format This closes apache#403. TS-4109: fix ts.debug/ts.error problem with long string TS-4096: update documentation TS-4096: ts.now() should return subsecond info for ts_lua plugin This closes apache#399. doc: fix a typo in traffic_via command reference TS-4105: RecDumpRecords passes the wrong record type to its callback TS-4097: Encode empty string properly with HPACK Format: Clang formatting. TS-3235: fix crash problem caused by sync problem in PluginVC. This closes apache#164. TS-4094: Clean up RD data in RequestData. This close apache#396. TS-4070: RemapProcessor Forward Mapping w/ Recv Port failing w/ TS-2157 changes. This closes apache#375. TS-4009: take continuation mutexes in stale_while_revalidate Bump the version to v6.2.0, we branched for 6.1.0 TS-4101: remove unused proxy.config.stats.config_file Generic: Remove excess semi-colons and commented out members. This close apache#388. TS-4083: CID 1343347: Fix unchecked return value. This closes apache#392
…-2157 changes
During the rework of RemapProcessor.cc, RemapProcessor::setup_for_remap()
as part of the TS-2157 changeset, the port access API appears to have been
incorrectly modified to use the client_info.src_addr.host_order_port() API
[source port, host order] instead of the client_info.dst_addr.port()
[destination/receive port, network order] API. This caused port based
remapping based on the receive port to fail with ATS 6.0.0.