Skip to content

Conversation

@lzx404243
Copy link
Collaborator

@lzx404243 lzx404243 commented May 5, 2023

Per #9652 , it would be good to replace curl with proxy verifier in proxy_protocol.test.py.

This PR updates the tests to use proxy verifier. As a result, some files are cleaned up:

  • all the gold files are cleaned up(except access.gold) as verifications are done in the replay files
  • proxy_protocol_server.py is no longer needed as proxy verifier supports PROXY header.

Also added a few test cases:

  • test pp-in for v2 on tcp port
  • test pp-in for v2 on ssl port

This resolves #9652 .

@bneradt bneradt added the AuTest label May 5, 2023
@bneradt bneradt added this to the 10.0.0 milestone May 5, 2023
@lzx404243 lzx404243 requested a review from masaori335 May 8, 2023 14:42
Copy link
Contributor

@masaori335 masaori335 left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for the conversion.

@bneradt bneradt merged commit 2e32b49 into apache:master May 11, 2023
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* asf/master:
  Fix ttmsh log field (apache#9722)
  Add CentOS to the required builds (apache#9721)
  Fix H3 transaction leak (apache#9714)
  Only need to include eventfd for native mode. This was using the wrong define anyway (apache#9711)
  Cleanup: remove ts::Buffer from LogField. (apache#9665)
  Cleanup: remove ts::Buffer from URL.cc (apache#9663)
  Check the calling thread of Ethread::schedule_local (apache#9691)
  build_h3_tools.sh: Remove an unneeded dir check (apache#9710)
  autoconf: Add lib flags for the quiche build test. (apache#9679)
  Remove deprecated debug output functions from 13 source files. (apache#9676)
  Changes for C++23 (apache#9703)
  QUIC: Add a unit tests to validate that the qlog file is generated (and no crashes) (apache#9668)
  libswoc: Update to 1.4.10 (apache#9700)
  Reload hosting.config on TASK thread (apache#9699)
  Changes for C++20 (apache#9701)
  Make io_uring or thread AIO modes a startup time decision (vs compile time) (apache#9630)
  Replace curl with proxy verifier in proxy protocol tests (apache#9684)
  Fix event queue corruption on PreWarmManager::reconfigure (apache#9692)
  Fixes crashes around OCSP with FetchSM (apache#9672)
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.

AuTest: Switch from curl for proxy_protocol.test.py

3 participants