couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-353) [PATCH] add default_handler into configuration for overriding couch_httpd_db:handle_request/1 if needed
Date Mon, 18 May 2009 18:51:45 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710444#action_12710444
] 

Paul Joseph Davis commented on COUCHDB-353:
-------------------------------------------

Brad,

Can you run a quick curl test to make sure that the mochiweb receive loop gets notification
of the config change (via being kiled from the exit call and restarted)? I'm wondering if
maybe the config handler might need to explicitly kill the mochiweb server.

> [PATCH] add default_handler into configuration for overriding couch_httpd_db:handle_request/1
if needed
> -------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-353
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-353
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.9
>            Reporter: Brad Anderson
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: default_handler.patch
>
>
> To execute code other than couch_httpd_db:handle_request/1 for the default handler function,
we need to add a configuration option to specify the new module/fun and execute that function
upon a request.  This will allow devs to execute alternate code for things like database creation
and deletion, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message