1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/roles/http
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
..
client client: unify post tls accept handling 2020-03-07 20:20:07 +00:00
compression cleaning 2020-01-05 22:17:58 +00:00
server http server: Using default filename also for subdirectories. 2020-03-23 21:03:54 +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:23:27 +00:00
minilex.c minilex: fix ROLE_WS=0 case 2020-03-06 15:23:27 +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:20:07 +00:00