diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-15 10:37:00 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-15 10:37:00 +0000 |
commit | c8eba949397d583b7eea03a050dd3f9fddc0bf98 (patch) | |
tree | b5de2b45166eb86228cc29ad90a057b95434ea7a /usr.sbin/relayd | |
parent | 3c4bcfb633b06c44cedd4704a049ead8df63b740 (diff) |
PATCH is like PUT, data is expected.
From mxb at alumni chalmers se
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/relay_http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c index 301248b32b9..8ba875b327c 100644 --- a/usr.sbin/relayd/relay_http.c +++ b/usr.sbin/relayd/relay_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_http.c,v 1.54 2015/12/07 04:03:27 mmcc Exp $ */ +/* $OpenBSD: relay_http.c,v 1.55 2015/12/15 10:36:59 reyk Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -369,6 +369,7 @@ relay_read_http(struct bufferevent *bev, void *arg) case HTTP_METHOD_OPTIONS: cre->toread = 0; break; + case HTTP_METHOD_PATCH: case HTTP_METHOD_POST: case HTTP_METHOD_PUT: case HTTP_METHOD_RESPONSE: |