mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 17:43:39 +08:00
httpd: add "struct file*" parameter to httpd_cgi_handler() callback
This commit is contained in:
@@ -2304,9 +2304,9 @@ http_init_file(struct http_state *hs, struct fs_file *file, int is_09, const cha
|
||||
{
|
||||
count = extract_uri_parameters(hs, params);
|
||||
}
|
||||
httpd_cgi_handler(uri, count, http_cgi_params, http_cgi_param_vals
|
||||
httpd_cgi_handler(file, uri, count, http_cgi_params, http_cgi_param_vals
|
||||
#if defined(LWIP_HTTPD_FILE_STATE) && LWIP_HTTPD_FILE_STATE
|
||||
, hs->handle->state
|
||||
, file->state
|
||||
#endif /* LWIP_HTTPD_FILE_STATE */
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user