statianzo / Fleck

C# Websocket Implementation
MIT License
2.28k stars 583 forks source link

Does not work on Mono 5.14.0 as a background process #251

Open kennedyjd opened 5 years ago

kennedyjd commented 5 years ago

Hello,

I downloaded and built the commit a7cd8ec (Sep 27) with VS2017 / 4.7.1 target framework. Starting the Fleck.Samples.ConsoleApp.exe via Mono works fine as a foreground application. Starting it in the background ("mono Fleck.Samples.ConsoleApp.exe &" at the command line in Linux), the socket server does not handle the connect correctly (i.e. the listener starts, but does not allow the client to connect). SocketWrapper.Receive is successfully run, but Accept is never called.

Mono JIT compiler version 5.14.0.177 (tarball Mon Aug 6 09:13:43 UTC 2018) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug Interpreter: yes LLVM: yes(3.6.0svn-mono-/) GC: sgen (concurrent by default)

Linux environment is a default Ubuntu instance on Linux Subsystem for Windows and I've tried it on a dedicated Linux machine as well. Both show the exact same issue.

Thanks,

-- Joe