lemunozm / message-io

Fast and easy-to-use event-driven network library.
Apache License 2.0
1.11k stars 74 forks source link

cross compile for websocket #108

Closed reison1218 closed 2 years ago

reison1218 commented 2 years ago

if i want to use ws,but do not open ssl,how to do it? em....i mean,cross compile openssl from windows or mac to linux is so troublesome.so maybe there is a way use ws but not use wss? for now,when i cross compile from mac to linux,it's always occur error,the errors are about openssl,if i open Ws feature. if i mistake something,pls tell me. by the way,thanks for your work,message-io is great!

lemunozm commented 2 years ago

Hi @reison1218,

In fact, the websocket feature would enable only the WebSocket, without TLS. I created a new PR https://github.com/lemunozm/message-io/pull/109 with that change and just merged into version 0.14.3.

I hope it goes well for your use case :)

reison1218 commented 2 years ago

Hi @lemunozm i have try 0.14.3,it's work! thanks for your work!:)