Skip to content

Add TCP_NODELAY and TTL options.#15

Merged
jbr merged 3 commits intohttp-rs:mainfrom
fiag:tcp-options
May 25, 2021
Merged

Add TCP_NODELAY and TTL options.#15
jbr merged 3 commits intohttp-rs:mainfrom
fiag:tcp-options

Conversation

@fiag
Copy link
Copy Markdown
Contributor

@fiag fiag commented May 19, 2021

refer to http-rs/tide#823. 😄

Copy link
Copy Markdown
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

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

This looks great! Thanks! updated below with further review

@jbr jbr self-requested a review May 22, 2021 23:30
Copy link
Copy Markdown
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

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

Other configuration is done through the TlsListenerBuilder, so the interface for this configuration should be done there as well (not on the TlsListener). However, the TlsListener should retain tcp_nodelay and tcp_ttl options as in this PR

Copy link
Copy Markdown
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

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

Thanks!

@jbr jbr merged commit cbfb61f into http-rs:main May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants