Skip to content

Commit

Permalink
UDP engine aborts on networking-related errors from socket syscalls z…
Browse files Browse the repository at this point in the history
…eromq#2862 (remove unused function)
  • Loading branch information
atomashpolskiy committed Aug 22, 2019
1 parent fe2287d commit c2f57a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/tcp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,6 @@ int zmq::tcp_read (fd_t s_, void *data_, size_t size_)
#endif
}

void zmq::tcp_assert_tuning_error (zmq::fd_t s_, int rc_)
{
assert_socket_tuning_error (s_, rc_);
}

void zmq::tcp_tune_loopback_fast_path (const fd_t socket_)
{
#if defined ZMQ_HAVE_WINDOWS && defined SIO_LOOPBACK_FAST_PATH
Expand Down
4 changes: 0 additions & 4 deletions src/tcp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ int tcp_write (fd_t s_, const void *data_, size_t size_);
// Zero indicates the peer has closed the connection.
int tcp_read (fd_t s_, void *data_, size_t size_);

// Asserts that an internal error did not occur. Does not assert
// on network errors such as reset or aborted connections.
void tcp_assert_tuning_error (fd_t s_, int rc_);

void tcp_tune_loopback_fast_path (const fd_t socket_);

// Resolves the given address_ string, opens a socket and sets socket options
Expand Down

0 comments on commit c2f57a3

Please sign in to comment.