http_find_file() is only used within LwIP.
 
Symbols
loading...
Files
loading...

http_find_file() function

Try to find the file specified by uri and, if found, initialize hs accordingly.

Syntax

static err_t http_find_file(struct http_state *hs,     const char *uri,     int is_09);
Implemented in httpd.c:2175

Arguments

hs

the connection state

uri

the HTTP header URI

is_09

1 if the request is HTTP/0.9 (no HTTP headers in response)

Return value

ERR_OK if file was found and hs has been initialized correctly another err_t otherwise

References

LocationReferrerText
httpd.c:2176
http_find_file(struct http_state *hs, const char *uri, int is_09)
httpd.c:310
static err_t http_find_file(struct http_state *hs, const char *uri, int is_09);
httpd.c:2098http_parse_request()
return http_find_file(hs, uri, is_09);

Call Tree

Functions calling http_find_file()
Functions called by http_find_file()
all items filtered out
http_find_file()
Data read by http_find_file()
Data written by http_find_file()
http_find_file()::name_len
http_find_file()::name_copy_len
http_find_file()::loop
http_find_file()::file
http_find_file()::params
http_find_file()::err
http_find_file()::tag_check
http_find_file()::uri_len
http_find_file()::copy_len
http_find_file()::file_name
http_find_file()::len_left
http_find_file()::i
all items filtered out
http_find_file()
http_find_file()::loop
http_find_file()::file
http_find_file()::params
http_find_file()::err
http_find_file()::file_name
http_find_file()::i
http_find_file()::tag_check
all items filtered out
Type of http_find_file()
http_find_file()
size_t
all items filtered out