aboutsummaryrefslogtreecommitdiff
path: root/lib/roles
AgeCommit message (Collapse)Author
2021-12-14http: proxying: allow for large headersVitaliy Orazov
set the buffer size (rpath) for header processing during proxying equal to the value in max_http_header_data
2021-12-02http: cookie_getDerKleinePunk
The loop check shouldn't care about bl any more, since we snipped bl from n already.
2021-11-29 http proxy: support PUT, PATCH and DELETE methodsVitaliy Orazov
2021-11-22ws: client: fail server link if maskedAndy Green
2021-11-22mqtt: always init wildcard and shadowChunho Lee
2021-11-22http: remove stray debug logAndy Green
2021-11-18h2: post: do not try to bind origin for filesAndy Green
2021-11-08coverity: client_reset: no longer any way to get NULL *pwsiAndy Green
Coverity belatedly noticed that client_reset no longer changes *pwsi
2021-11-08h2: coverity: check for OOM on dynamic table allocAndy Green
It can fail, we should check it.
2021-10-30server: SO_REUSEPORT: enable with LWS_MAX_SMP > 1Ron Frederick
Either explicit option selection, or multiple SMP service threads, should enable SO_REUSEPORT https://github.com/warmcat/libwebsockets/issues/2470
2021-10-27mqtt: allow indicating username and password are not on heapChunho Lee
Fix minimal-mqtt-client and minimal-mqtt-client-multi from crashes by allowing indicating username and password are not on heap.
2021-10-24raw-file: clear POLLOUT before handlingAndy Green
2021-10-16http: sse: check POLLIN during DOING_TRANSACTIONAndy Green
When the client goes away, on some platforms all we get is POLLIN revent stuck on... we have to read it to find out a zero length result and understand it's gone. Add SSE mode's DOING_TRANSACTION to the list of states we will read for.
2021-10-13mqtt: protect printing debug only varsYichen Gu
2021-10-13logs: migrate ws extension code to contextual loggingFelipe Gasper
2021-10-13logs: migrate client-parser-ws.c to contextual loggingFelipe Gasper
2021-10-12Teach client-ws.c about log contexts.Felipe Gasper
2021-10-07ss-mqtt: Add support for Birth messageChunho Lee
This provides Birth message on SS policy. The Birth message is a message published just after the MQTT connection has been established.
2021-10-07ss-mqtt: Skip SUBSCRIBE when MQTT session is resumedChunho Lee
2021-10-05cmake: unbreak LWS_WITH_SYS_STATE disabled buildAndy Green
2021-10-05mqtt: allow indicating client_id is not on heapAndy Green
Not sure why we don't leave any freeing to the caller, but since we don't allow indicating that the provided client id should not be freed.
2021-10-05h2: ping pong: separate payloadsoaleshina
https://github.com/warmcat/libwebsockets/pull/2413
2021-09-09warn: avoid one toolchain false positiveAndy Green
2021-09-09http server: allow serving files with special unicode pathxionghui
2021-08-31h2: bulk rx: deal with windowAndy Green
We don't always keep updating the rxflow window on bulk rx, and just run down the initial. This keeps us going with 64K in flight
2021-08-31http: custom hdr: add custom name iteratorAusten Stone
2021-08-31http: hdr: sync lws_hdr_total_length with lws_hdr_copyAndy Green
2021-08-21http: cookies: support cookie jar in and outYichen Gu
2021-08-19http: redirect: make sure we keep wsi opaqueAndy Green
2021-08-19h2: plat: fix plat SETTINGS overrideGopi Rao
The FREERTOS plat has its own h2 SETTINGS, but although they are used, they get overridden with the lws default SETTINGS during pt init. Let's not do that if someone else has already touched the context set.
2021-08-19ws: check protocol before debug logAndy Green
2021-08-19server: http-proxy: fix POSTAndy Green
2021-08-13http: date: use timegmAndy Green
2021-08-09h2: data: frame header already parsed outAndy Green
2021-07-30http: redir: to tls from noneAndy Green
2021-07-23h2: server: file serving chunk restricted to max frame size from SETTINGSYucong Sun
2021-07-18ws: ext: close wsi rather than spin if unable to clear buflistAndy Green
If there's ssl pending and stuff in the buflist, it was observed we can spin if the buflist is not cleared due to wsi state. Add a sanity check for the number of times we will try to deal with that before dropping the conn.
2021-07-13libevent: use event_enable_debug_modeAndy Green
2021-07-08raw-proxy: fix role bind flagAndy Green
2021-07-04fi: wsi: fault to fake peer hangup after a delay rangeAndy Green
Example usage, client $ valgrind ./bin/lws-minimal-secure-streams-stress-client -c 4 --budget 40 proxy $ valgrind ./lws-minimal-secure-streams-proxy --fault-injection "ss=mintest/wsi/timedclose(20%),ss=mintest/wsi/timedclose_ms(0..100)"
2021-07-04WextraAndy Green
Add -Wextra (with -Wno-unused-parameter) to unix builds in addition to -Wall -Werror. This can successfully build everything in Sai without warnings / errors.
2021-07-04sspc: add concurrency stressAndy Green
Add a way to perform sspc tests with increased concurrency and sequential tests
2021-07-01logs: more internal conversion to log_cxAndy Green
2021-07-01logs: log contextsAndy Green
2021-07-01logs: introduce log_cxAndy Green
2021-07-01mqtt: fix wrong packet id in some conditionsChunho Lee
2021-06-27netlink: hold in COLDPLUG until we actually have some routing table contentsAndy Green
2021-06-24gcc: gcc8 only recognizes fallthuDavid Jeffers
Later gcc is more accepting, but there's at least one gcc8 toolchain that only likes to hear "fallthru", or it will flag it
2021-06-22vhost: create multiple listen sockets per AFAndy Green
On some platforms AF_INET and AF_INET6 must be listened for on separate sockets. Adapt the vhost server creation code to use the new support for multiple listen sockets per vhost to create up to two listen sockets for AF_INET and AF_INET6. It refactors how the decision about the AF is made and propagated so there's only one place for it.
2021-06-22vhost: allow multiple listen socketsAndy Green
Some platforms need two sockets with AF_INET and AF_INET6 to listen to both protocols. This patch changes the single listen socket each vhost could previously handle to become an lws_dll2 and adapts the related code to handle them as a linked-list rather than as a singleton. The next patch adapts the listen / server code to create multiple listen wsi for vhosts listening on multiple ip protocols.