Added all the rest of the project files. It doesn't work as an nginx module yet I need to find the error.

This commit is contained in:
2024-04-11 20:28:25 +03:00
parent 8ff4438f82
commit e3eb52487f
5 changed files with 3249 additions and 0 deletions

24
ngx_http_webdav_module.h Normal file
View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) Starfields
*/
#include <ngx_http.h>
#ifndef NGX_HTTP_WEBDAV_MODULE_H
#define NGX_HTTP_WEBDAV_MODULE_H
// The module location configuration
typedef struct {
ngx_uint_t methods;
ngx_shm_zone_t *shm_zone;
ngx_http_complex_value_t *realm;
ngx_http_complex_value_t *user_file;
ngx_uint_t access;
ngx_uint_t min_delete_depth;
ngx_flag_t create_full_put_path;
} ngx_http_dav_ext_loc_conf_t;
void ngx_http_dav_ext_proppatch_handler(ngx_http_request_t *r);
#endif