Documentation fix: it's TCP_NODELAY, not SO_NODELAY (#1710)
This commit is contained in:
@@ -1000,7 +1000,7 @@ impl ClientBuilder {
|
||||
|
||||
// TCP options
|
||||
|
||||
/// Set whether sockets have `SO_NODELAY` enabled.
|
||||
/// Set whether sockets have `TCP_NODELAY` enabled.
|
||||
///
|
||||
/// Default is `true`.
|
||||
pub fn tcp_nodelay(mut self, enabled: bool) -> ClientBuilder {
|
||||
|
||||
@@ -466,7 +466,7 @@ impl ClientBuilder {
|
||||
|
||||
// TCP options
|
||||
|
||||
/// Set whether sockets have `SO_NODELAY` enabled.
|
||||
/// Set whether sockets have `TCP_NODELAY` enabled.
|
||||
///
|
||||
/// Default is `true`.
|
||||
pub fn tcp_nodelay(self, enabled: bool) -> ClientBuilder {
|
||||
|
||||
Reference in New Issue
Block a user