1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Karl Rupp bb439e766a http server: Using default filename also for subdirectories.
If a user sets a default filename for a http mount (.def in lws_http_mount),
eg. 'default.html', then a GET request for '/' correctly forwards to
 '/default.html'.
However, without this commit the default filename is not taken into account for subdirectories. Thus,
 GET subdir/
will forward to
 'subdir/index.html'
instead of the expected
 'subdir/default.html'

This commit changes the behavior such that the user-provided default filename is also used for subdirectories.
2020-03-23 21:03:54 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core lws_spa: avoid reading past table 2020-03-14 07:55:58 +00:00
core-net lws_set_wsi_user: allow setting to override existing internal allocation 2020-03-19 17:03:11 +00:00
event-libs ev: check for IOURING 2020-03-01 08:14:44 +00:00
jose jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
misc lws_dir: uv: clean up temp loop on fail 2020-03-19 14:38:01 +00:00
plat freertos: forward-port lwip version adaptations 2020-03-04 12:17:49 +00:00
roles http server: Using default filename also for subdirectories. 2020-03-23 21:03:54 +00:00
secure-streams ss: reduce logging of unknown streamtypes 2020-03-19 14:37:22 +00:00
system client: secure streams 2020-03-04 12:17:49 +00:00
tls jws: lws_gencrypto_jws_alg_to_definition needs sentinel 2020-03-21 07:01:58 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries