Skip to content
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

Add configuration for UDP poll timeout #9733

Merged
merged 6 commits into from
May 25, 2023

Conversation

JosiahWI
Copy link
Contributor

Add proxy.config.udp.poll_timeout with a default value of 100. Default value and value of 10 are verified with autest.

Closes #4634

Add proxy.config.udp.poll_timeout with a default value of 100. Default
value and value of 10 are verified with autest.

Closes apache#4634
@bneradt bneradt added the UDP label May 23, 2023
@bneradt bneradt added this to the 10.0.0 milestone May 23, 2023
@bneradt bneradt requested a review from maskit May 23, 2023 21:10
@maskit
Copy link
Member

maskit commented May 24, 2023

Should we skip the test if QUIC isn't enabled (Quiche and BoringSSL are the requirement)? The new setting is for UDP so I think it should be ran always.

Copy link
Contributor

@bneradt bneradt 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 to me.

@@ -144,6 +144,7 @@ UDPPacket::free()
UDPNetProcessorInternal udpNetInternal;
UDPNetProcessor &udpNet = udpNetInternal;

int g_udp_pollTimeout;
Copy link
Member

Choose a reason for hiding this comment

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

Nitpicking, but why not int32_t like others below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The poll_timeout field is an int and int can be 2 bytes. Perhaps I'm the one who was nitpicking.

Copy link
Member

Choose a reason for hiding this comment

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

Fair enough. I found one for TCP is also int.

@maskit maskit merged commit dc7843b into apache:master May 25, 2023
@JosiahWI JosiahWI deleted the feat/udp-poll-timeout-config branch May 30, 2023 14:59
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* asf/master:
  Fix Via header on H3 connections (apache#9758)
  Add ssrc and surc log fields for server simple/unavail retry counts. (apache#9694)
  Term standardization: dead/down server -> down server (apache#9582)
  Fix a crash caused by a HTTP/2 GET request with a body (apache#9738)
  Add configuration for UDP poll timeout (apache#9733)
  Fix quic_no_activity_timeout test (apache#9737)
  Updates to cmake install to get a running ATS from a fresh install (apache#9735)
  Make config.proxy.http.no_dns_just_forward_to_parent overridable (apache#9728)
  Fix a potential crash due to use-after-free on QUIC connections (apache#9715)
  Doc: Clarify that connect ports can have multiple values (apache#9713)
  Add BRAVO Reader-Writer Lock (apache#9394)
  Cleanup: Fix format of doc corruption message (apache#9725)
  Don't build traffic_quic command (apache#9726)
  Fix protocol version in request Via header (apache#9716)
  Fix TS_HTTP_REQUEST_TRANSFORM_HOOK Tunnel Processing (apache#9724)
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.

UDP poll_timeout should be configurable
3 participants