libwebsockets/lib
Andy Green b8b247d3e1 remove need for filepath buffer on http file serve
This gets rid of the stack buffer while serving files, and the
PATH_MAX char array that used to hold the filepath in the wsi.

It holds an extra file descriptor open while serving the file,
however it attempts to stuff the socket with as much of the
file as it can take.  For files of a few KB, that typically
completes (without blocking) in the call to
libwebsockets_serve_http_file() and then closes the file
descriptor before returning.

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-08 12:19:01 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c CMake support + fixed windows build. 2013-02-06 15:49:12 +09:00
client-handshake.c unionize header token array 2013-02-07 20:30:56 +08:00
client-parser.c act on fatal parse problems 2013-02-07 20:30:56 +08:00
client.c unionize header token array 2013-02-07 20:30:56 +08:00
daemonize.c Fixed build on OSX. 2013-02-06 15:49:12 +09:00
extension-deflate-frame.c unionize mutually exclusive wsi members 2013-01-21 11:06:34 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
extension-deflate-stream.h Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension.c deprecate x google mux 2013-01-17 19:53:16 +08:00
getifaddrs.c introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
getifaddrs.h introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
handshake.c unionize header token array 2013-02-07 20:30:56 +08:00
libwebsockets.c remove need for filepath buffer on http file serve 2013-02-08 12:19:01 +08:00
libwebsockets.h Fix two typos. 2013-02-07 23:23:10 +08:00
Makefile.am Generate the API reference in text format, too. 2013-02-07 23:36:37 +08:00
minilex.c add lexical parser for headers 2013-01-18 01:55:48 +08:00
output.c remove need for filepath buffer on http file serve 2013-02-08 12:19:01 +08:00
parsers.c unionize header token array 2013-02-07 20:30:56 +08:00
private-libwebsockets.h remove need for filepath buffer on http file serve 2013-02-08 12:19:01 +08:00
server-handshake.c unionize header token array 2013-02-07 20:30:56 +08:00
server.c remove need for filepath buffer on http file serve 2013-02-08 12:19:01 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00