Skip to content

Instantly share code, notes, and snippets.

@luke-mstar
luke-mstar / Siege-DELETE-hack
Created June 15, 2012 02:21
Quick hack to add DELETE to siege-2.7.2
diff --git a/src/client.c b/src/client.c
index 09ebf64..7d63887 100644
--- a/src/client.c
+++ b/src/client.c
@@ -304,7 +304,13 @@ http_request(CONN *C, URL *U, CLIENT *client)
socket_close(C);
return FALSE;
}
- } else {
+ } else if (U->calltype == URL_DELETE) {