Comments (1)
In struct lws_context_creation_info
const char *alpn;
/**< CONTEXT: If non-NULL, default list of advertised alpn, comma-
* separated
*
* VHOST: If non-NULL, per-vhost list of advertised alpn, comma-
* separated
*/
If you want h1 or h2, just leave it NULL
. Else, eg, "h1"
.
from libwebsockets.
Related Issues (20)
- received LWS_CALLBACK_CLOSED_CLIENT_HTTP when websocket client reconnect server HOT 1
- ws client demo couldn't connect to server HOT 3
- Tls handshake fails if client_ssl_private_key_filepath varaibale from lws_context_creation_info struct is set to NULL
- unable to compile on mbedtls 3.6+ HOT 1
- Can't send response back to Google Chrome Request HOT 4
- Linker errors due to missing systemd symbols HOT 11
- How to access struct ssl_st and socket fds used by libwebsockets client for integrating with io_uring? HOT 1
- Issue with Integrating libev Loop with lws for WebSocket Client HOT 1
- heap buffer over-read in upng-gzip.c HOT 2
- Data loss at beginning of read call output in libev integration, any offsets to consider apart from LWS_PRE when received data is read? HOT 1
- Serving multiple files over https HOT 1
- heap buffer overflow is found in jpeg.c HOT 1
- NULL pointer dereference is found in dlo-lhp.c HOT 2
- Does libwebsockets support multiplex? HOT 3
- Does libwebsocket has API which will directly access certificate store. HOT 1
- heap buffer overflow is found in upng.c
- could not decode a text frame as utf-8 HOT 3
- Precision about synthax HOT 1
- Managing large messages HOT 3
- Decoupling the websocket protocol from the transport layer HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libwebsockets.