diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-26 05:59:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-26 06:14:28 +0000 |
commit | 1aef50d0091d1e710648ccade913ea80238520d9 (patch) | |
tree | dc8b9aafd58ae1dc1bf7ba1dc6a224d06494fec5 /http_get.c | |
parent | 596dbef8b4b23657fd78dca4bc55e261c3f6b376 (diff) | |
download | cmogstored-st-wip-broken.tar.gz |
Diffstat (limited to 'http_get.c')
-rw-r--r-- | http_get.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -194,6 +194,9 @@ void mog_http_get_open(struct mog_fd *mfd, char *buf) assert(http->forward == NULL && "already have http->forward"); assert(path[0] == '/' && "bad path"); + TRACE(CMOGSTORED_HTTP_REQ_START(mfd->fd, + http->_p.http_method == MOG_HTTP_METHOD_HEAD ? + "HEAD" : "GET", path)); if (path[1] == '\0') { /* keep "mogadm check" happy */ sb.st_mtime = 0; sb.st_size = 0; |