Young-Flash

Results 47 comments of Young-Flash

我也是遇到这个问题。自己写了 CMakeLists.txt 后可以正常编译构建,运行的时候命令行上一直显示 close18。不过能输出日志

@ChenXinShuo1998 找到原因了。是 `webserver.cpp` 中root文件夹路径的问题。我猜你是新建了一个 build 文件夹构建然后运行项目,所以 root 文件夹路径就错了,可以自己输出 `m_root` 变量看看。我改了路径之后就好了

sorry 过了太久了我已经删掉了

As for SOCK_DGRAM over unix domain socket, it does not seem to support on Windows according to [this blog](https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/). I am not sure whether it supports now, searched Google but...

Sorry I can not understand well. Can you be more specific about what changes should I need to make? Do you mean `us_socket_context_listen_unix` and `us_socket_context_connect_unix` need't take the `int ssl`...

Or don't add interfaces for unix domain socket `listen` and `connect`, just used the old TCP `listen` and `connect` interfaces and make some judgment inside according the given parameters to...

I update this pr, you can take a review when you are free

I'd like to make a PR for [uWebSockets](https://github.com/Young-Flash/uWebSockets) to add the feature that run websocket over unix domain socket, add a interface `TemplatedApp &&listen_unix(std::string path, int options, MoveOnlyFunction &&handler)`, what...