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

added RestartAfterListenError #181

Merged
merged 2 commits into from
Aug 25, 2016
Merged

added RestartAfterListenError #181

merged 2 commits into from
Aug 25, 2016

Conversation

jespertheend
Copy link
Contributor

use server.ListenerSocket. RestartAfterListenError to automatically
restart the listener after it closes because of an error

use server.ListenerSocket. RestartAfterListenError to automatically
restart the listener after it closes because of an error
@@ -15,6 +15,7 @@ public interface ISocket
int RemotePort { get; }
Stream Stream { get; }
bool NoDelay { get; set; }
bool RestartAfterListenError { get; set; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this property is only used by WebSocketServer, I would put it on that class.

moved RestartAfterListenError to the WebSocketServer class
@jespertheend
Copy link
Contributor Author

@statianzo yeah that makes more sense. This should be better. Let me know what you think?

@artfulhacker
Copy link
Contributor

ahhh, I just did the same thing. :-) either works, but yours does show two files changed.

@statianzo what do you think about adding this to the readme as well?

@statianzo
Copy link
Owner

Add it to the readme and it looks good to merge. 👍

@jespertheend
Copy link
Contributor Author

@artfulhacker my text editor removes spaces on empty lines. I modified that file and then reverted the changes but the empty lines still got removed, that's why mine shows two files changed.

@artfulhacker artfulhacker merged commit 27e3feb into statianzo:master Aug 25, 2016
@jespertheend
Copy link
Contributor Author

I'm trying to switch to IPv6 but ran into an issue related to this #185

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.

3 participants