Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP_NODELAY is set prior to connecting #3334

Merged
merged 2 commits into from
Dec 14, 2018
Merged

TCP_NODELAY is set prior to connecting #3334

merged 2 commits into from
Dec 14, 2018

Conversation

jacquesg
Copy link
Contributor

This is problematic on Windows.

Solution: Set TCP_NODELAY after connect()

Reference: https://mail.openvswitch.org/pipermail/ovs-dev/2014-October/290251.html

@jacquesg
Copy link
Contributor Author

Here is the stack trace I get, ultimately failing with a 0x40000015 exception.

 	KERNELBASE.dll!_RaiseException@16�()	Unknown
>	Raw.dll!tune_socket(const unsigned int socket_) Line 322	C++
 	Raw.dll!zmq::make_fdpair(unsigned int * r_, unsigned int * w_) Line 449	C++
 	Raw.dll!zmq::mailbox_t::mailbox_t() Line 35	C++
 	Raw.dll!zmq::socket_base_t::socket_base_t(zmq::ctx_t * parent_, unsigned int tid_, int sid_, bool thread_safe_) Line 219	C++
 	Raw.dll!zmq::socket_base_t::create(int type_, zmq::ctx_t * parent_, unsigned int tid_, int sid_) Line 118	C++
 	Raw.dll!zmq::ctx_t::create_socket(int type_) Line 381	C++
 	Raw.dll!XS_ZMQ__Raw__Socket_new(interpreter * my_perl, cv * cv) Line 19	C

@bluca bluca merged commit 546f8e7 into zeromq:master Dec 14, 2018
@bluca
Copy link
Member

bluca commented Dec 14, 2018

Thanks!

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