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

Ctrl+C in cpp_client result in error "Assertion failed: Successful WSASTARTUP not yet performed" #40

Open
sashafrey opened this issue Mar 31, 2014 · 0 comments
Labels

Comments

@sashafrey
Copy link
Owner

This is a regression, introduced in alfrey_rpcz branch. If one press Ctrl+C to abort cpp_client during ongoing processing, he gets an error message:

Assertion failed: Successful WSASTARTUP not yet performed (......\src\signaler
.cpp:328)

As far as I see, there is no simple way of solving this on Windows. On Linux this can be handled by calling install_signal_handler() method from src\rpcz\include\rpcz\connection_manager.hpp.

I hope this is an annoying, but harmless error. However, there might be some consequences - for example, leaking socket connections when clients crash, etc. So I suggest we ignore this ticket for now, but keep it open as a reminder.

@sashafrey sashafrey added the bug label Jul 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant