uNetworking / uWebSockets

Simple, secure & standards compliant web server for the most demanding of applications
Apache License 2.0
17.29k stars 1.75k forks source link

CAPI uws_res_upgrade segfault #1542

Closed gigagrig closed 9 months ago

gigagrig commented 1 year ago

I'm trying to integrate capi web sockets. It looks like uws_res_upgrade leads to a segfault with ssl. The segfault is reproduced in provided example UpgradeSync.c Compiler : gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

cirospaciari commented 1 year ago

I think the examples are not updated, I will take a look, fix and update them.

cirospaciari commented 1 year ago

uws_res_upgrade was broken, now it's fixed in PR #1571

gigagrig commented 1 year ago

uws_res_upgrade was broken, now it's fixed in PR #1571 Contributor cirospaciari, Thank you!