mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
Fix #1329 - send MG_EV_WS_OPEN for server connections
This commit is contained in:
1 parent
9b18a6350a
commit
c2c6ff11ed
5 files changed
+46
-23
No files matched your search
+1
-1
@@ -740,7 +740,7 @@ void mg_http_serve_dir(struct mg_connection *c, struct mg_http_message *hm,
|
||||
int flags = uri_to_path(c, hm, opts, root, sizeof(root), path, sizeof(path));
|
||||
|
||||
if (flags == 0) return;
|
||||
LOG(LL_DEBUG, ("root [%s], path [%s] %d", root, path, flags));
|
||||
// LOG(LL_DEBUG, ("root [%s], path [%s] %d", root, path, flags));
|
||||
if (flags & MG_FS_DIR) {
|
||||
listdir(c, hm, opts, path);
|
||||
} else if (opts->ssi_pattern != NULL &&
|
||||
|
||||
Reference in new issue
Block a user