summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-02-21 17:18:05 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-02-21 17:18:05 +0000
commit05f8287a332acfaf16655262ef222cbb3e3054ae (patch)
treea67e43d91cccfcc2ced816e7546bbd74175f4196
parent3341c824f5d1b248122d1a983dc10626e284ba72 (diff)
downloadneon-05f8287a332acfaf16655262ef222cbb3e3054ae.tar.gz
* src/ne_request.h: Clarify what may be in the Request-URI passed to a
create_request hook. * BUGS: create_request hook URI handling has been well-defined for a while; bug was fixed. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@930 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--BUGS4
-rw-r--r--src/ne_request.h8
2 files changed, 4 insertions, 8 deletions
diff --git a/BUGS b/BUGS
index ca1ca76..1bbc78f 100644
--- a/BUGS
+++ b/BUGS
@@ -14,10 +14,6 @@ Known problems/bugs in neon -*- text -*-
only cache on shutdown, since the SSL_SESSION may change during
an ne_session?
-* what is passed as 'path' to req create hook: auth needs Request-URI;
- how does that interact with proxies? also they will be passed NULL
- for a CONNECT request, or "*" possibly as well.
-
* It would be nice to fail with a friendly error message if a client
cert is requested by the srever but one is not provided. Currently,
returning -1 from the provide_client_cert function would allow that
diff --git a/src/ne_request.h b/src/ne_request.h
index 05c26ce..d3c0ca6 100644
--- a/src/ne_request.h
+++ b/src/ne_request.h
@@ -234,10 +234,10 @@ void ne_set_request_expect100(ne_request *req, int flag);
typedef void (*ne_free_hooks)(void *cookie);
-/* Hook called when a create is created; passed the request method,
- * and the string used as the Request-URI (which may be an abs_path,
- * or an absoluteURI, depending on whether an HTTP proxy is in
- * use). */
+/* Hook called when a request is created; passed the request method,
+ * and the string used as the Request-URI (note that this may be a
+ * absolute URI if a proxy is in use, an absolute path, a "*",
+ * etc). */
typedef void (*ne_create_request_fn)(ne_request *req, void *userdata,
const char *method, const char *requri);
void ne_hook_create_request(ne_session *sess,