1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/roles/http
Karl Rupp 6440521992 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 10:53:10 +00:00
..
client captive portal 2020-03-11 12:44:01 +00:00
compression cleaning 2020-01-05 22:17:58 +00:00
server http server: Using default filename also for subdirectories. 2020-03-23 10:53:10 +00:00
header.c cleaning 2020-01-05 22:17:58 +00:00
lextable-strings.h rtos diet: http: remove headers at buildtime according to config 2020-03-04 11:00:04 +00:00
lextable.h minilex: fix ROLE_WS=0 case 2020-03-06 15:22:36 +00:00
minilex.c minilex: fix ROLE_WS=0 case 2020-03-06 15:22:36 +00:00
parsers.c client: secure streams 2020-03-04 12:17:49 +00:00
private-lib-roles-http.h client: unify post tls accept handling 2020-03-07 20:03:58 +00:00