Re: mod_dav_fs locking / Re: apr_dbm and concurrency

2023-11-23 Thread Emmanuel Dreyfus
adly hurt by a few WebDAV clients proactively exploring the filesystem using locksdiscovery. That compeltely killed the service. I introduced the DavLockDiscovery directive to work it around. -- Emmanuel Dreyfus m...@netbsd.org

Re: Please support/enable https by default in the Apache web sever.

2023-09-30 Thread Emmanuel Dreyfus
TTP. -- Emmanuel Dreyfus m...@netbsd.org

Re: [VOTE] Switch read/write repository from Subversion to Git

2023-05-04 Thread Emmanuel Dreyfus
Github and I will only work with > what gitbox.apache.org offers. > [X]: Leave everything as is. -- Emmanuel Dreyfus m...@netbsd.org

Re: Why is my merge_dir_config not called

2023-03-01 Thread Emmanuel Dreyfus
On Wed, Mar 01, 2023 at 05:29:28AM -0500, Eric Covener wrote: > Does your config have directives from dav_fs in two overlapping sections? Like this, you mean? DavQuota DavQuota None DavQuota 222 -- Emmanuel Dreyfus m...@netbsd.org

Why is my merge_dir_config not called

2023-03-01 Thread Emmanuel Dreyfus
not sure that matters here, since merge_dir_config() should handle all directives and it is not called at all. What is the trick? I have spent a lot of time with printfs in server/config.c with no success so far. -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1907608 - in /httpd/httpd/trunk: CMakeLists.txt modules/dav/main/NWGNUmakefile modules/dav/main/config5.m4 modules/dav/main/mod_dav.c modules/dav/main/mod_dav.dsp modules/dav/main/mod

2023-02-14 Thread Emmanuel Dreyfus
peration and is intended only for display and logging > purposes. -- Emmanuel Dreyfus m...@netbsd.org

Re: MS-WDV and other MS extensions

2023-02-10 Thread Emmanuel Dreyfus
On Fri, Feb 10, 2023 at 04:15:16PM +0100, Ruediger Pluem wrote: > > Do you suggests adding values to Options, or to create a DAVoptions > > directive? > > I think DAVMSextis fine, but with an Options like syntax. Hence for now this? DAVMSext +WDV -- Emmanuel Dreyfus m...@netbsd.org

Re: MS-WDV and other MS extensions

2023-02-10 Thread Emmanuel Dreyfus
On Fri, Feb 10, 2023 at 09:53:47AM -0500, Eric Covener wrote: > I like the third case with an all/on option. If it will need to be > per-directory, maybe an Options like syntax would make sense? Do you suggests adding values to Options, or to create a DAVoptions directive? -- Emmanuel D

MS-WDV and other MS extensions

2023-02-10 Thread Emmanuel Dreyfus
extensions. Thoughts? -- Emmanuel Dreyfus m...@netbsd.org

Re: stable branch

2023-01-09 Thread Emmanuel Dreyfus
On Mon, Jan 09, 2023 at 09:37:37AM -0500, Eric Covener wrote: > svn relocate http://svn.apache.org https://svn.apache.org That did it! I made the commit, but someone knowledgable should probably check I did not break something -- Emmanuel Dreyfus m...@netbsd.org

Re: stable branch

2023-01-09 Thread Emmanuel Dreyfus
3: Commit failed (details follow): svn: E195023: Changing directory '/scratch/httpd-trunk/httpd/branches/2.4.x' is forbidden by the server svn: E175013: Access to '/repos/asf/!svn/me' forbidden I do svn commit --username manu --password *** What am I doing wrong? -- Emmanuel Dreyfus m...@netbsd.org

stable branch

2023-01-09 Thread Emmanuel Dreyfus
1904638,1904662,1905170,1905206,1905230 ^/httpd/h ttpd/trunk . +1: manu, covener, gbechis covener: xml needs doc tweak after backport -- Emmanuel Dreyfus m...@netbsd.org

Re: MS-WDV (was Re: Help with buckets)

2022-12-06 Thread Emmanuel Dreyfus
nfo.filetype != APR_REG) goto out; apr_brigade_printf(bb, NULL, NULL, "%016" APR_UINT64_T_HEX_FMT, rr->finfo.size); ap_set_content_type(r, "multipart/MSDAVEXTPrefixEncoded"); ap_pass_brigade(r->output_filters, bb); /* plain GET rocessing happens afterward */ out: if (rr) ap_destroy_sub_req(rr); return; } -- Emmanuel Dreyfus m...@netbsd.org

Re: MS-WDV (was Re: Help with buckets)

2022-12-02 Thread Emmanuel Dreyfus
anism to ensure propfind data does not change between the two times it is produced. I am not sure that can be guaranteed. -- Emmanuel Dreyfus m...@netbsd.org

MS-WDV (was Re: Help with buckets)

2022-12-02 Thread Emmanuel Dreyfus
Hello I made some progress with the combined GET+PROPFIND specified by MS-WDV (for a summary, see https://lists.apache.org/thread/57s1vvl6k9qpdv5ym7mtcl29bd933w7k ) Attached is the diff against trunk, form comments. -- Emmanuel Dreyfus m...@netbsd.org Index: dav/main/mod_dav.c

Re: svn commit: r1905170 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

2022-11-17 Thread Emmanuel Dreyfus
: manu + PATCHES/ISSUES THAT ARE STALLED *) core: avoid duplicate headers when using ap_send_error_response. -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1905170 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

2022-11-15 Thread Emmanuel Dreyfus
On Fri, Nov 11, 2022 at 02:12:09AM +, Emmanuel Dreyfus wrote: > I will let someone review xml changes in r1905230 before committing > the html files. I committed the html files. What is the procedure for pushing changes to the 2.4 branch? I have the following changes for DAVLockDis

Re: svn commit: r1905170 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

2022-11-10 Thread Emmanuel Dreyfus
On Wed, Nov 09, 2022 at 08:19:47AM +0100, Ruediger Pluem wrote: > Typically the change to the xml file and the updated html files are committed > separately e.g. look at I will let someone review xml changes in r1905230 before committing the html files. -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1905170 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

2022-11-09 Thread Emmanuel Dreyfus
.c (working copy) @@ -160,7 +160,7 @@ conf = (dav_dir_conf *)apr_pcalloc(p, sizeof(*conf)); -conf->allow_lockdiscovery = DAV_ENABLED_ON; +conf->allow_lockdiscovery = DAV_ENABLED_UNSET; /* clean up the directory to remove any trailing slash */ if (dir != NULL)

Re: svn commit: r1905170 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

2022-11-09 Thread Emmanuel Dreyfus
On Wed, Nov 09, 2022 at 08:19:47AM +0100, Ruediger Pluem wrote: > Would you provide some documentation for the new directive Yes, this is pending. -- Emmanuel Dreyfus m...@netbsd.org

Re: New committer: Emmanuel Dreyfus

2022-11-08 Thread Emmanuel Dreyfus
On Tue, Nov 08, 2022 at 01:05:28PM +0100, Yann Ylavic wrote: > Welcome Emmanuel, glad to have you on the team! Thank you everybody for the grretings. I made my first commit in r1905170, I hope it is fine. -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1904638 - in /httpd/httpd/trunk: changes-entries/DAVLockDiscovery.txt modules/dav/main/mod_dav.c modules/dav/main/mod_dav.h modules/dav/main/props.c

2022-10-27 Thread Emmanuel Dreyfus
covery by PROPFIND is another story, I cannot see a use case for that. If you want to see less locks, then you must be great fan of my DAVLockDiscovery contribution, especially now it has been updated as a flag directive. Any chance we get it into 2.4 branch? -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1904638 - in /httpd/httpd/trunk: changes-entries/DAVLockDiscovery.txt modules/dav/main/mod_dav.c modules/dav/main/mod_dav.h modules/dav/main/props.c

2022-10-26 Thread Emmanuel Dreyfus
On Tue, Oct 18, 2022 at 05:03:48PM +, Emmanuel Dreyfus wrote: > dbm is fast once you have it open. mod_dav_fs opens DAVLockDB on each > HTTP request, then it acquire a filesystem level lock on it. This is > where contenton occurs. I have been thinking about how Apache could open

Re: svn commit: r1904638 - in /httpd/httpd/trunk: changes-entries/DAVLockDiscovery.txt modules/dav/main/mod_dav.c modules/dav/main/mod_dav.h modules/dav/main/props.c

2022-10-26 Thread Emmanuel Dreyfus
w_bug.cgi?id=66313 Is it fine for you? -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1904638 - in /httpd/httpd/trunk: changes-entries/DAVLockDiscovery.txt modules/dav/main/mod_dav.c modules/dav/main/mod_dav.h modules/dav/main/props.c

2022-10-18 Thread Emmanuel Dreyfus
t would be fine too. I was too focused on a specific client's client behavior that expr on User-Agent and remote IP seemed critical to me, but indeed acheive the same result. -- Emmanuel Dreyfus m...@netbsd.org

Re: svn commit: r1904638 - in /httpd/httpd/trunk: changes-entries/DAVLockDiscovery.txt modules/dav/main/mod_dav.c modules/dav/main/mod_dav.h modules/dav/main/props.c

2022-10-18 Thread Emmanuel Dreyfus
s very fast. I'd be surprised that contention occurs in > any typical workload. dbm is fast once you have it open. mod_dav_fs opens DAVLockDB on each HTTP request, then it acquire a filesystem level lock on it. This is where contenton occurs. -- Emmanuel Dreyfus m...@netbsd.org

mod_dav_fs performances

2022-10-17 Thread Emmanuel Dreyfus
. I have been testing disabling lock discovery for a week, it works well. Performances are good again, and no regression appeared. -- Emmanuel Dreyfus m...@netbsd.org

DAV lock database management tool

2018-04-17 Thread Emmanuel Dreyfus
is interested. Feedback are welcome. -- Emmanuel Dreyfus m...@netbsd.org

Cookies and sessions bugfixes

2017-11-17 Thread Emmanuel Dreyfus
else did the same work and got it committed in tree: https://bz.apache.org/bugzilla/show_bug.cgi?id=60708 -- Emmanuel Dreyfus m...@netbsd.org

Discard a brigade from filter

2017-10-19 Thread Emmanuel Dreyfus
of request, and hence miss the next brigades. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [PATCH] MS Office webDAV interoperability, MS-OFBA support

2017-04-10 Thread Emmanuel Dreyfus
Hello This contribution has not met an enthousiast reaction. No comment, anyone? On Wed, Mar 29, 2017 at 01:05:48PM +, Emmanuel Dreyfus wrote: > Hello > > If you tried to use mod_dav_fs with recent MS Office on Windows, > you probably had the unpleaseant experience of be

[PATCH] MS Office webDAV interoperability, MS-OFBA support

2017-03-29 Thread Emmanuel Dreyfus
-modules_aaa_mod_auth_form.c [4] https://bz.apache.org/bugzilla/show_bug.cgi?id=60908 [5] https://bz.apache.org/bugzilla/show_bug.cgi?id=60909 [6] https://bz.apache.org/bugzilla/show_bug.cgi?id=60708 [7] https://bz.apache.org/bugzilla/show_bug.cgi?id=60910 -- Emmanuel Dreyfus m...@netbsd.org

Session support for mod_auth_basic [PATCH 60708]

2017-02-08 Thread Emmanuel Dreyfus
is first done without credentials, hits a HTTP 401 and then succeeds with credentials. With the help of a session, all requests after initial HTTP basic authentication have a session cookie and can succeed on first attempt, saving one HTTP request/response. -- Emmanuel Dreyfus http