trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] branch master updated: Removes proxy.config.http.server_tcp_init_cwnd
Date Fri, 10 May 2019 22:26:14 GMT
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 88b5a13  Removes proxy.config.http.server_tcp_init_cwnd
88b5a13 is described below

commit 88b5a13ecb18c741c04a39b611566427c94546a4
Author: Leif Hedstrom <zwoop@apache.org>
AuthorDate: Fri May 10 14:39:16 2019 -0600

    Removes proxy.config.http.server_tcp_init_cwnd
    
    This was only ever supported on Solaris, a platform that we no
    longer supports. Cleaning this up avoids confusion.
    
    Closes #5476
---
 doc/admin-guide/files/records.config.en.rst        |  7 -------
 doc/admin-guide/plugins/lua.en.rst                 |  3 +--
 .../api/functions/TSHttpOverridableConfig.en.rst   |  1 -
 .../api/types/TSOverridableConfigKey.en.rst        |  1 -
 .../admin-guide/files/records.config.en.po         |  7 -------
 .../api/functions/TSHttpOverridableConfig.en.po    |  4 ----
 include/ts/apidefs.h.in                            |  1 -
 iocore/net/Connection.cc                           |  6 ------
 iocore/net/I_NetProcessor.h                        |  5 -----
 iocore/net/I_NetVConnection.h                      |  3 ---
 iocore/net/P_UnixNetVConnection.h                  | 16 ---------------
 mgmt/RecordsConfig.cc                              |  2 --
 plugins/lua/ts_lua_http_config.c                   |  2 --
 proxy/PluginVC.cc                                  |  6 ------
 proxy/PluginVC.h                                   |  1 -
 proxy/http/Http1ClientSession.cc                   | 23 ----------------------
 proxy/http/Http1ClientSession.h                    |  2 --
 proxy/http/HttpConfig.cc                           |  8 +++-----
 proxy/http/HttpConfig.h                            |  5 -----
 proxy/http/HttpProxyServerMain.cc                  |  3 ---
 src/traffic_server/InkAPI.cc                       |  4 ----
 src/traffic_server/InkAPITest.cc                   |  1 -
 22 files changed, 4 insertions(+), 107 deletions(-)

diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index e6156a3..fcfd35a 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -913,13 +913,6 @@ mptcp
    options ``2`` and ``3`` for this configuration variable cause the proxy
    to use the client HTTP version for upstream requests.
 
-.. ts:cv:: CONFIG proxy.config.http.server_tcp_init_cwnd INT 0
-   :overridable:
-
-   Configures the size, in packets, of the initial TCP congestion window on
-   sockets used by the HTTP engine. This option may only be used on operating
-   systems which support the ``TCP_INIT_CWND`` option on TCP sockets.
-
 .. ts:cv:: CONFIG proxy.config.http.auth_server_session_private INT 1
    :overridable:
 
diff --git a/doc/admin-guide/plugins/lua.en.rst b/doc/admin-guide/plugins/lua.en.rst
index 93b443a..1567919 100644
--- a/doc/admin-guide/plugins/lua.en.rst
+++ b/doc/admin-guide/plugins/lua.en.rst
@@ -2254,7 +2254,7 @@ ts.http.resp_transform.set_upstream_watermark_bytes
 
 **context:** transform handler
 
-**description**: This function can be used to set the watermark bytes of the upstream transform
buffer. 
+**description**: This function can be used to set the watermark bytes of the upstream transform
buffer.
 
 Setting the watermark bytes above 32kb may improve the performance of the transform handler.
 
@@ -3299,7 +3299,6 @@ Http config constants
     TS_LUA_CONFIG_HTTP_RESPONSE_SERVER_ENABLED
     TS_LUA_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR
     TS_LUA_CONFIG_HTTP_INSERT_FORWARDED
-    TS_LUA_CONFIG_HTTP_SERVER_TCP_INIT_CWND
     TS_LUA_CONFIG_HTTP_SEND_HTTP11_REQUESTS
     TS_LUA_CONFIG_HTTP_CACHE_HTTP
     TS_LUA_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE
diff --git a/doc/developer-guide/api/functions/TSHttpOverridableConfig.en.rst b/doc/developer-guide/api/functions/TSHttpOverridableConfig.en.rst
index a30b5c2..09a5a02 100644
--- a/doc/developer-guide/api/functions/TSHttpOverridableConfig.en.rst
+++ b/doc/developer-guide/api/functions/TSHttpOverridableConfig.en.rst
@@ -159,7 +159,6 @@ TSOverridableConfigKey Value                                        Configuratio
 :c:macro:`TS_CONFIG_HTTP_RESPONSE_SERVER_STR`                       :ts:cv:`proxy.config.http.response_server_str`
 :c:macro:`TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS`                      :ts:cv:`proxy.config.http.send_http11_requests`
 :c:macro:`TS_CONFIG_HTTP_SERVER_SESSION_SHARING_MATCH`              :ts:cv:`proxy.config.http.server_session_sharing.match`
-:c:macro:`TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND`                      :ts:cv:`proxy.config.http.server_tcp_init_cwnd`
 :c:macro:`TS_CONFIG_HTTP_SLOW_LOG_THRESHOLD`                        :ts:cv:`proxy.config.http.slow.log.threshold`
 :c:macro:`TS_CONFIG_HTTP_TRANSACTION_ACTIVE_TIMEOUT_IN`             :ts:cv:`proxy.config.http.transaction_active_timeout_in`
 :c:macro:`TS_CONFIG_HTTP_TRANSACTION_ACTIVE_TIMEOUT_OUT`            :ts:cv:`proxy.config.http.transaction_active_timeout_out`
diff --git a/doc/developer-guide/api/types/TSOverridableConfigKey.en.rst b/doc/developer-guide/api/types/TSOverridableConfigKey.en.rst
index 938254e..e4d3ff5 100644
--- a/doc/developer-guide/api/types/TSOverridableConfigKey.en.rst
+++ b/doc/developer-guide/api/types/TSOverridableConfigKey.en.rst
@@ -54,7 +54,6 @@ Enumeration Members
    .. c:macro:: TS_CONFIG_HTTP_ANONYMIZE_INSERT_CLIENT_IP
    .. c:macro:: TS_CONFIG_HTTP_RESPONSE_SERVER_ENABLED
    .. c:macro:: TS_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR
-   .. c:macro:: TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND
    .. c:macro:: TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS
    .. c:macro:: TS_CONFIG_HTTP_CACHE_HTTP
    .. c:macro:: TS_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE
diff --git a/doc/locale/ja/LC_MESSAGES/admin-guide/files/records.config.en.po b/doc/locale/ja/LC_MESSAGES/admin-guide/files/records.config.en.po
index 3637b18..806eed4 100644
--- a/doc/locale/ja/LC_MESSAGES/admin-guide/files/records.config.en.po
+++ b/doc/locale/ja/LC_MESSAGES/admin-guide/files/records.config.en.po
@@ -1768,13 +1768,6 @@ msgid ""
 "use the client HTTP version for upstream requests."
 msgstr ""
 
-#: ../../../admin-guide/files/records.config.en.rst:955
-msgid ""
-"Configures the size, in packets, of the initial TCP congestion window on "
-"sockets used by the HTTP engine. This option may only be used on operating "
-"systems which support the ``TCP_INIT_CWND`` option on TCP sockets."
-msgstr ""
-
 #: ../../../admin-guide/files/records.config.en.rst:961
 msgid ""
 "If enabled (``1``) anytime a request contains a ``Authorization``, ``Proxy-"
diff --git a/doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/TSHttpOverridableConfig.en.po
b/doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/TSHttpOverridableConfig.en.po
index 01ef8bb..ff0d251 100644
--- a/doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/TSHttpOverridableConfig.en.po
+++ b/doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/TSHttpOverridableConfig.en.po
@@ -168,10 +168,6 @@ msgstr ""
 msgid ":ts:cv:`proxy.config.http.insert_squid_x_forwarded_for`"
 msgstr ":ts:cv:`proxy.config.http.insert_squid_x_forwarded_for`"
 
-#: ../../../developer-guide/api/functions/TSHttpOverridableConfig.en.rst:86
-msgid ":ts:cv:`proxy.config.http.server_tcp_init_cwnd`"
-msgstr ""
-
 #: ../../../developer-guide/api/functions/TSHttpOverridableConfig.en.rst:87
 msgid ":ts:cv:`proxy.config.http.send_http11_requests`"
 msgstr ""
diff --git a/include/ts/apidefs.h.in b/include/ts/apidefs.h.in
index cc34840..cbc28a1 100644
--- a/include/ts/apidefs.h.in
+++ b/include/ts/apidefs.h.in
@@ -718,7 +718,6 @@ typedef enum {
   TS_CONFIG_HTTP_ANONYMIZE_INSERT_CLIENT_IP,
   TS_CONFIG_HTTP_RESPONSE_SERVER_ENABLED,
   TS_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR,
-  TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND,
   TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS,
   TS_CONFIG_HTTP_CACHE_HTTP,
   TS_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE,
diff --git a/iocore/net/Connection.cc b/iocore/net/Connection.cc
index 0b6d14d..dfe0d0a 100644
--- a/iocore/net/Connection.cc
+++ b/iocore/net/Connection.cc
@@ -264,12 +264,6 @@ Server::setup_fd_for_listen(bool non_blocking, const NetProcessor::AcceptOptions
   }
 #endif
 
-#ifdef TCP_INIT_CWND
-  if (opt.init_cwnd > 0 && (res = setsockopt(fd, IPPROTO_TCP, TCP_INIT_CWND, &opt.init_cwnd,
sizeof(int))) < 0) {
-    Error("[Server::listen] Cannot set initial congestion window to %d error: %d", tcp_init_cwnd,
errno);
-  }
-#endif
-
   if (non_blocking) {
     if ((res = safe_nonblocking(fd)) < 0) {
       goto Lerror;
diff --git a/iocore/net/I_NetProcessor.h b/iocore/net/I_NetProcessor.h
index 6eb5a40..da70488 100644
--- a/iocore/net/I_NetProcessor.h
+++ b/iocore/net/I_NetProcessor.h
@@ -83,11 +83,6 @@ public:
     /// defer accpet for @c sockopt.
     /// 0 => OS default.
     int defer_accept;
-#ifdef TCP_INIT_CWND
-    /// tcp init cwnd for @c sockopt
-    /// OS default
-    int init_cwnd;
-#endif
     /// Socket options for @c sockopt.
     /// 0 => do not set options.
     uint32_t sockopt_flags;
diff --git a/iocore/net/I_NetVConnection.h b/iocore/net/I_NetVConnection.h
index 6f40159..4adf794 100644
--- a/iocore/net/I_NetVConnection.h
+++ b/iocore/net/I_NetVConnection.h
@@ -635,9 +635,6 @@ public:
 
   virtual SOCKET get_socket() = 0;
 
-  /** Set the TCP initial congestion window */
-  virtual int set_tcp_init_cwnd(int init_cwnd) = 0;
-
   /** Set the TCP congestion control algorithm */
   virtual int set_tcp_congestion_control(int side) = 0;
 
diff --git a/iocore/net/P_UnixNetVConnection.h b/iocore/net/P_UnixNetVConnection.h
index e4e0483..5bea212 100644
--- a/iocore/net/P_UnixNetVConnection.h
+++ b/iocore/net/P_UnixNetVConnection.h
@@ -295,7 +295,6 @@ public:
   void set_mptcp_state() override;
   void set_remote_addr() override;
   void set_remote_addr(const sockaddr *) override;
-  int set_tcp_init_cwnd(int init_cwnd) override;
   int set_tcp_congestion_control(int side) override;
   void apply_options() override;
 
@@ -399,21 +398,6 @@ UnixNetVConnection::cancel_active_timeout()
   next_activity_timeout_at = 0;
 }
 
-inline int
-UnixNetVConnection::set_tcp_init_cwnd(int init_cwnd)
-{
-#ifdef TCP_INIT_CWND
-  int rv;
-  uint32_t val = init_cwnd;
-  rv           = setsockopt(con.fd, IPPROTO_TCP, TCP_INIT_CWND, &val, sizeof(val));
-  Debug("socket", "Setting TCP initial congestion window (%d) -> %d", init_cwnd, rv);
-  return rv;
-#else
-  Debug("socket", "Setting TCP initial congestion window %d -> unsupported", init_cwnd);
-  return -1;
-#endif
-}
-
 inline UnixNetVConnection::~UnixNetVConnection() {}
 
 inline SOCKET
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 9b21975..4dbb24c 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -385,8 +385,6 @@ static const RecordElement RecordsConfig[] =
   ,
   {RECT_CONFIG, "proxy.config.http.server_max_connections", RECD_INT, "0", RECU_DYNAMIC,
RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
   ,
-  {RECT_CONFIG, "proxy.config.http.server_tcp_init_cwnd", RECD_INT, "0", RECU_DYNAMIC, RR_NULL,
RECC_STR, "[0-16]", RECA_NULL}
-  ,
   {RECT_CONFIG, "proxy.config.http.per_server.connection.max", RECD_INT, "0", RECU_DYNAMIC,
RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
   ,
   {RECT_CONFIG, "proxy.config.http.per_server.connection.match", RECD_STRING, "ip", RECU_DYNAMIC,
RR_NULL, RECC_STR, "^(?:ip|host|both|none)$", RECA_NULL}
diff --git a/plugins/lua/ts_lua_http_config.c b/plugins/lua/ts_lua_http_config.c
index c7f46cb..a01018e 100644
--- a/plugins/lua/ts_lua_http_config.c
+++ b/plugins/lua/ts_lua_http_config.c
@@ -41,7 +41,6 @@ typedef enum {
   TS_LUA_CONFIG_HTTP_RESPONSE_SERVER_ENABLED                  = TS_CONFIG_HTTP_RESPONSE_SERVER_ENABLED,
   TS_LUA_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR             = TS_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR,
   TS_LUA_CONFIG_HTTP_INSERT_FORWARDED                         = TS_CONFIG_HTTP_INSERT_FORWARDED,
-  TS_LUA_CONFIG_HTTP_SERVER_TCP_INIT_CWND                     = TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND,
   TS_LUA_CONFIG_HTTP_SEND_HTTP11_REQUESTS                     = TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS,
   TS_LUA_CONFIG_HTTP_CACHE_HTTP                               = TS_CONFIG_HTTP_CACHE_HTTP,
   TS_LUA_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE             = TS_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE,
@@ -173,7 +172,6 @@ ts_lua_var_item ts_lua_http_config_vars[] = {
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_RESPONSE_SERVER_ENABLED),
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_INSERT_SQUID_X_FORWARDED_FOR),
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_INSERT_FORWARDED),
-  TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_SERVER_TCP_INIT_CWND),
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_SEND_HTTP11_REQUESTS),
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_CACHE_HTTP),
   TS_LUA_MAKE_VAR_ITEM(TS_LUA_CONFIG_HTTP_CACHE_IGNORE_CLIENT_NO_CACHE),
diff --git a/proxy/PluginVC.cc b/proxy/PluginVC.cc
index 98a0969..4c81db4 100644
--- a/proxy/PluginVC.cc
+++ b/proxy/PluginVC.cc
@@ -970,12 +970,6 @@ PluginVC::set_mptcp_state()
 }
 
 int
-PluginVC::set_tcp_init_cwnd(int /* init_cwnd ATS_UNUSED */)
-{
-  return -1;
-}
-
-int
 PluginVC::set_tcp_congestion_control(int ATS_UNUSED)
 {
   return -1;
diff --git a/proxy/PluginVC.h b/proxy/PluginVC.h
index 118a31a..ce420fd 100644
--- a/proxy/PluginVC.h
+++ b/proxy/PluginVC.h
@@ -103,7 +103,6 @@ public:
   void set_remote_addr() override;
   void set_remote_addr(const sockaddr *) override;
   void set_mptcp_state() override;
-  int set_tcp_init_cwnd(int init_cwnd) override;
   int set_tcp_congestion_control(int) override;
 
   void apply_options() override;
diff --git a/proxy/http/Http1ClientSession.cc b/proxy/http/Http1ClientSession.cc
index d2239ab..f19784c 100644
--- a/proxy/http/Http1ClientSession.cc
+++ b/proxy/http/Http1ClientSession.cc
@@ -209,13 +209,6 @@ Http1ClientSession::do_io_read(Continuation *c, int64_t nbytes, MIOBuffer
*buf)
 VIO *
 Http1ClientSession::do_io_write(Continuation *c, int64_t nbytes, IOBufferReader *buf, bool
owner)
 {
-  /* conditionally set the tcp initial congestion window
-     before our first write. */
-  HttpSsnDebug("tcp_init_cwnd_set %d", (int)tcp_init_cwnd_set);
-  if (!tcp_init_cwnd_set) {
-    tcp_init_cwnd_set = true;
-    set_tcp_init_cwnd();
-  }
   if (client_vc) {
     return client_vc->do_io_write(c, nbytes, buf, owner);
   } else {
@@ -224,22 +217,6 @@ Http1ClientSession::do_io_write(Continuation *c, int64_t nbytes, IOBufferReader
 }
 
 void
-Http1ClientSession::set_tcp_init_cwnd()
-{
-  if (!trans.get_sm()) {
-    return;
-  }
-  int desired_tcp_init_cwnd = trans.get_sm()->t_state.txn_conf->server_tcp_init_cwnd;
-  HttpSsnDebug("desired TCP congestion window is %d", desired_tcp_init_cwnd);
-  if (desired_tcp_init_cwnd == 0) {
-    return;
-  }
-  if (get_netvc()->set_tcp_init_cwnd(desired_tcp_init_cwnd) != 0) {
-    HttpSsnDebug("set_tcp_init_cwnd(%d) failed", desired_tcp_init_cwnd);
-  }
-}
-
-void
 Http1ClientSession::do_io_shutdown(ShutdownHowTo_t howto)
 {
   client_vc->do_io_shutdown(howto);
diff --git a/proxy/http/Http1ClientSession.h b/proxy/http/Http1ClientSession.h
index 3fafd2d..84863aa 100644
--- a/proxy/http/Http1ClientSession.h
+++ b/proxy/http/Http1ClientSession.h
@@ -173,7 +173,6 @@ private:
   int state_keep_alive(int event, void *data);
   int state_slave_keep_alive(int event, void *data);
   int state_wait_for_close(int event, void *data);
-  void set_tcp_init_cwnd();
 
   enum C_Read_State {
     HCS_INIT,
@@ -186,7 +185,6 @@ private:
   NetVConnection *client_vc = nullptr;
   int magic                 = HTTP_SS_MAGIC_DEAD;
   int transact_count        = 0;
-  bool tcp_init_cwnd_set    = false;
   bool half_close           = false;
   bool conn_decrease        = false;
 
diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 2ba767c..a051224 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -984,7 +984,6 @@ HttpConfig::startup()
 
   HttpEstablishStaticConfigLongLong(c.server_max_connections, "proxy.config.http.server_max_connections");
   HttpEstablishStaticConfigLongLong(c.max_websocket_connections, "proxy.config.http.websocket.max_number_of_connections");
-  HttpEstablishStaticConfigLongLong(c.oride.server_tcp_init_cwnd, "proxy.config.http.server_tcp_init_cwnd");
   HttpEstablishStaticConfigLongLong(c.origin_min_keep_alive_connections, "proxy.config.http.per_server.min_keep_alive");
   HttpEstablishStaticConfigByte(c.oride.attach_server_session_to_client, "proxy.config.http.attach_server_session_to_client");
 
@@ -1266,10 +1265,9 @@ HttpConfig::reconfigure()
   params->disable_ssl_parenting        = INT_TO_BOOL(m_master.disable_ssl_parenting);
   params->oride.forward_connect_method = INT_TO_BOOL(m_master.oride.forward_connect_method);
 
-  params->server_max_connections     = m_master.server_max_connections;
-  params->max_websocket_connections  = m_master.max_websocket_connections;
-  params->oride.server_tcp_init_cwnd = m_master.oride.server_tcp_init_cwnd;
-  params->oride.outbound_conntrack   = m_master.oride.outbound_conntrack;
+  params->server_max_connections    = m_master.server_max_connections;
+  params->max_websocket_connections = m_master.max_websocket_connections;
+  params->oride.outbound_conntrack  = m_master.oride.outbound_conntrack;
   // If queuing for outbound connection tracking is enabled without enabling max connections,
it is meaningless, so we'll warn
   if (params->outbound_conntrack.queue_size > 0 &&
       !(params->oride.outbound_conntrack.max > 0 || params->origin_min_keep_alive_connections))
{
diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h
index c24ac05..48472e2 100644
--- a/proxy/http/HttpConfig.h
+++ b/proxy/http/HttpConfig.h
@@ -585,11 +585,6 @@ struct OverridableHttpConfigParams {
   MgmtInt sock_packet_mark_out      = 0;
   MgmtInt sock_packet_tos_out       = 0;
 
-  ///////////////////////////////
-  // Initial congestion window //
-  ///////////////////////////////
-  MgmtInt server_tcp_init_cwnd = 0;
-
   ///////////////
   // Hdr Limit //
   ///////////////
diff --git a/proxy/http/HttpProxyServerMain.cc b/proxy/http/HttpProxyServerMain.cc
index 631d542..3e4c1b8 100644
--- a/proxy/http/HttpProxyServerMain.cc
+++ b/proxy/http/HttpProxyServerMain.cc
@@ -152,9 +152,6 @@ make_net_accept_options(const HttpProxyPort *port, unsigned nthreads)
   REC_ReadConfigInteger(net.send_bufsize, "proxy.config.net.sock_send_buffer_size_in");
   REC_ReadConfigInteger(net.sockopt_flags, "proxy.config.net.sock_option_flag_in");
   REC_ReadConfigInteger(net.defer_accept, "proxy.config.net.defer_accept");
-#ifdef TCP_INIT_CWND
-  REC_ReadConfigInteger(net.init_cwnd, "proxy.config.http.server_tcp_init_cwnd");
-#endif
 
 #ifdef TCP_FASTOPEN
   REC_ReadConfigInteger(net.tfo_queue_length, "proxy.config.net.sock_option_tfo_queue_size_in");
diff --git a/src/traffic_server/InkAPI.cc b/src/traffic_server/InkAPI.cc
index 0cd9c7d..45a484a 100644
--- a/src/traffic_server/InkAPI.cc
+++ b/src/traffic_server/InkAPI.cc
@@ -8073,9 +8073,6 @@ _conf_to_memberp(TSOverridableConfigKey conf, OverridableHttpConfigParams
*overr
   case TS_CONFIG_HTTP_INSERT_FORWARDED:
     ret = _memberp_to_generic(&overridableHttpConfig->insert_forwarded, conv);
     break;
-  case TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND:
-    ret = _memberp_to_generic(&overridableHttpConfig->server_tcp_init_cwnd, conv);
-    break;
   case TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS:
     ret = _memberp_to_generic(&overridableHttpConfig->send_http11_requests, conv);
     break;
@@ -8613,7 +8610,6 @@ static const std::unordered_map<std::string_view, std::tuple<const
TSOverridable
    {"proxy.config.net.sock_option_flag_out", {TS_CONFIG_NET_SOCK_OPTION_FLAG_OUT, TS_RECORDDATATYPE_INT}},
    {"proxy.config.net.sock_packet_mark_out", {TS_CONFIG_NET_SOCK_PACKET_MARK_OUT, TS_RECORDDATATYPE_INT}},
    {"proxy.config.websocket.active_timeout", {TS_CONFIG_WEBSOCKET_ACTIVE_TIMEOUT, TS_RECORDDATATYPE_INT}},
-   {"proxy.config.http.server_tcp_init_cwnd", {TS_CONFIG_HTTP_SERVER_TCP_INIT_CWND, TS_RECORDDATATYPE_INT}},
    {"proxy.config.http.flow_control.enabled", {TS_CONFIG_HTTP_FLOW_CONTROL_ENABLED, TS_RECORDDATATYPE_INT}},
    {"proxy.config.http.send_http11_requests", {TS_CONFIG_HTTP_SEND_HTTP11_REQUESTS, TS_RECORDDATATYPE_INT}},
    {"proxy.config.body_factory.template_base", {TS_CONFIG_BODY_FACTORY_TEMPLATE_BASE, TS_RECORDDATATYPE_STRING}},
diff --git a/src/traffic_server/InkAPITest.cc b/src/traffic_server/InkAPITest.cc
index 15c3cd0..09b31e0 100644
--- a/src/traffic_server/InkAPITest.cc
+++ b/src/traffic_server/InkAPITest.cc
@@ -8589,7 +8589,6 @@ std::array<std::string_view, TS_CONFIG_LAST_ENTRY> SDK_Overridable_Configs
= {
    "proxy.config.http.insert_client_ip",
    "proxy.config.http.response_server_enabled",
    "proxy.config.http.insert_squid_x_forwarded_for",
-   "proxy.config.http.server_tcp_init_cwnd",
    "proxy.config.http.send_http11_requests",
    "proxy.config.http.cache.http",
    "proxy.config.http.cache.ignore_client_no_cache",


Mime
View raw message