-
- Downloads
client: h2
This adds h2 http support for the client api. The public client api requires no changes, it will detect by ALPN if the server can handle http/2, if so, it will use it. Multiple client connections using the lws api will be mapped on to the same single http/2 + tls socket using http/2 streams that are serviced simultaneously where possible.
Showing
- READMEs/README.coding.md 12 additions, 0 deletionsREADMEs/README.coding.md
- lib/client/client-handshake.c 57 additions, 12 deletionslib/client/client-handshake.c
- lib/client/client.c 62 additions, 28 deletionslib/client/client.c
- lib/handshake.c 5 additions, 0 deletionslib/handshake.c
- lib/header.c 3 additions, 3 deletionslib/header.c
- lib/http2/http2.c 372 additions, 43 deletionslib/http2/http2.c
- lib/http2/ssl-http2.c 1 addition, 1 deletionlib/http2/ssl-http2.c
- lib/libwebsockets.c 8 additions, 5 deletionslib/libwebsockets.c
- lib/libwebsockets.h 6 additions, 1 deletionlib/libwebsockets.h
- lib/output.c 8 additions, 5 deletionslib/output.c
- lib/pollfd.c 12 additions, 2 deletionslib/pollfd.c
- lib/private-libwebsockets.h 17 additions, 1 deletionlib/private-libwebsockets.h
- lib/service.c 43 additions, 14 deletionslib/service.c
- lib/tls/mbedtls/mbedtls-client.c 19 additions, 3 deletionslib/tls/mbedtls/mbedtls-client.c
- lib/tls/openssl/openssl-client.c 14 additions, 2 deletionslib/tls/openssl/openssl-client.c
- lib/tls/openssl/ssl.c 2 additions, 0 deletionslib/tls/openssl/ssl.c
- minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c 95 additions, 41 deletions...ent/minimal-http-client-multi/minimal-http-client-multi.c
- minimal-examples/http-client/minimal-http-client/minimal-http-client.c 2 additions, 1 deletion...les/http-client/minimal-http-client/minimal-http-client.c
- minimal-examples/ws-client/minimal-ws-client-rx/minimal-ws-client.c 2 additions, 2 deletions...amples/ws-client/minimal-ws-client-rx/minimal-ws-client.c
- test-apps/test-server-v2.0.c 4 additions, 2 deletionstest-apps/test-server-v2.0.c
Loading
Please register or sign in to comment