You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Carlos Beppler <be...@gmail.com> on 2009/07/06 14:27:43 UTC

Is it possible to rewrite mod_dav_svn as an FastCGI script?

On the users list there is a thread called "Installing Subversion
Under Windows Server 2008 and IIS". The last message on that thread is
an request to expose the Subversion server functionality (mod_dav_svn)
as FastCGI, than the Subversion servers can run on Windows with IIS
(and Linux with Apache and LightHTTPd).

Is this possible? How difficult is this to implement?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368385

Re: Is it possible to rewrite mod_dav_svn as an FastCGI script?

Posted by Jon Bendtsen <jb...@laerdal.dk>.
On 06/07/2009, at 16.27, Carlos Beppler wrote:

> On the users list there is a thread called "Installing Subversion
> Under Windows Server 2008 and IIS". The last message on that thread is
> an request to expose the Subversion server functionality (mod_dav_svn)
> as FastCGI, than the Subversion servers can run on Windows with IIS
> (and Linux with Apache and LightHTTPd).
>
> Is this possible? How difficult is this to implement?

I dont know, but if you or someone else implement it, PLEASE do not  
close open file descriptors in the stupid way it is done now. (or was  
done since i dont run 1.6.latest_fresh_from_trunk).

But at the moment on Linux it closes open files like this:

close_file(0)
close_file(1)
close_file(2)
...
close_file(#limit_of_open_files)

Sometimes this limit is 2^32 files, which makes it SLOOOOW.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368395

Re: Is it possible to rewrite mod_dav_svn as an FastCGI script?

Posted by Carlos Beppler <be...@gmail.com>.
But there are any problems due the nature of FastCGI that can be a
problem implementing this module?

On Mon, Jul 6, 2009 at 12:32, Erik Huelsmann<eh...@gmail.com> wrote:
> On Mon, Jul 6, 2009 at 4:27 PM, Carlos Beppler<be...@gmail.com> wrote:
>> On the users list there is a thread called "Installing Subversion
>> Under Windows Server 2008 and IIS". The last message on that thread is
>> an request to expose the Subversion server functionality (mod_dav_svn)
>> as FastCGI, than the Subversion servers can run on Windows with IIS
>> (and Linux with Apache and LightHTTPd).
>>
>> Is this possible? How difficult is this to implement?
>
> Extremely hard: you'd have to re-implement all of mod_dav_svn,
> mod_svn_auth, but als mod_dav on which mod_dav_svn is based.
>
> Bye,
>
> Erik.
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368464

Re: Is it possible to rewrite mod_dav_svn as an FastCGI script?

Posted by Erik Huelsmann <eh...@gmail.com>.
On Mon, Jul 6, 2009 at 4:27 PM, Carlos Beppler<be...@gmail.com> wrote:
> On the users list there is a thread called "Installing Subversion
> Under Windows Server 2008 and IIS". The last message on that thread is
> an request to expose the Subversion server functionality (mod_dav_svn)
> as FastCGI, than the Subversion servers can run on Windows with IIS
> (and Linux with Apache and LightHTTPd).
>
> Is this possible? How difficult is this to implement?

Extremely hard: you'd have to re-implement all of mod_dav_svn,
mod_svn_auth, but als mod_dav on which mod_dav_svn is based.

Bye,

Erik.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368411