Closed Z3NTL3 closed 7 months ago
I think your program exited before it received the response, you need to hang in the main func.
Oh damn, true lmao. my bad i forgot totally about its even driven architecture anyways thanks!
Got one more question if u do not mind. Currently it is not possible for me to convert the connection to accommodate TLS. For example when OnOpen
emits, I convert to TLS then later everytime OnTraffic
fires its a TLS connection.
Will be pretty dope and I like ``gnet``` pretty much so far. Good job 🫡🫡🫡
gnet
hasn't supported TLS yet, but it's on our roadmap, I hope we can get it done someday.
Please close this issue if your problem has been solved.
Actions I've taken before I'm here
What happened?
Tried using GNET as a HTTP client, I send request payload but were unable to receive response back from the web server.
Major version of gnet
v2
Specific version of gnet
v2.5.0
Operating system
Windows
OS version
Windows 11 Home 10.0.22631 x64-based PC
Go version
go version go1.22.2 windows/amd64
Relevant log output
Code snippets (optional)
How to Reproduce
Reproduce what I've described above.
Does this issue reproduce with the latest release?
It can reproduce with the latest release