Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/appendices/command-line/traffic_manager.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Description
.. option:: --help
.. option:: --nosyslog
.. option:: --path FILE
.. option:: --proxyBackDoor PORT
.. option:: --proxyOff
.. option:: --listenOff
.. option:: --proxyPort PORT
Expand Down
1 change: 0 additions & 1 deletion iocore/net/I_NetProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class NetProcessor : public Processor
/// Are frequent accepts expected?
/// Default: @c false.
bool frequent_accept;
bool backdoor;

/// Socket receive buffer size.
/// 0 => OS default.
Expand Down
4 changes: 2 additions & 2 deletions iocore/net/UnixNetAccept.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ NetAccept::do_blocking_accept(EThread *t)
}
}
// check for throttle
if (!opt.backdoor && check_net_throttle(ACCEPT)) {
if (check_net_throttle(ACCEPT)) {
check_throttle_warning(ACCEPT);
// close the connection as we are in throttle state
con.close();
Expand Down Expand Up @@ -437,7 +437,7 @@ NetAccept::acceptFastEvent(int event, void *ep)

if (likely(fd >= 0)) {
// check for throttle
if (!opt.backdoor && check_net_throttle(ACCEPT)) {
if (check_net_throttle(ACCEPT)) {
// close the connection as we are in throttle state
con.close();
NET_SUM_DYN_STAT(net_connections_throttled_in_stat, 1);
Expand Down
1 change: 0 additions & 1 deletion iocore/net/UnixNetProcessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ NetProcessor::AcceptOptions::reset()
etype = ET_NET;
localhost_only = false;
frequent_accept = true;
backdoor = false;
recv_bufsize = 0;
send_bufsize = 0;
sockopt_flags = 0;
Expand Down