Commit cb62203c authored by Sergey Lyubka's avatar Sergey Lyubka

More documentation for MG_OPEN_FILE event

parent 4fcb64fe
...@@ -116,6 +116,11 @@ enum mg_event { ...@@ -116,6 +116,11 @@ enum mg_event {
// return "data"; // return "data";
// } // }
// return NULL; // return NULL;
//
// Note that this even is sent multiple times during one request. Each
// time mongoose tries to open or stat the file, this event is sent, e.g.
// for opening .htpasswd file, stat-ting requested file, opening requested
// file, etc.
MG_OPEN_FILE, MG_OPEN_FILE,
// Mongoose initializes Lua server page. Sent only if Lua support is enabled. // Mongoose initializes Lua server page. Sent only if Lua support is enabled.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment