summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/main.c b/src/main.c
index 686d20c..f096176 100644
--- a/src/main.c
+++ b/src/main.c
@@ -688,26 +688,7 @@ request_aborted_cb (SoupServer *server,
SoupClientContext *client,
GHashTable *ctx_table)
{
- g_debug ("%s request aborted!", msg->method);
- if (msg->method == SOUP_METHOD_PUT ||
- msg->method == SOUP_METHOD_POST)
- goto PUT;
- else if (msg->method == SOUP_METHOD_GET)
- goto GET;
- else
- /* We return NOT_IMPLEMENTED for this
- * when we get the request headers */
- g_assert_not_reached ();
-
-PUT:
- {
- /* FIXME: Is there anything to do here? */
- }
-
-GET:
- {
- /* We do all cleanup in the "finished" msg signal, nothing to do here */
- }
+ /* Nothing to do. Everything is handled in "finished" signals. */
}
gboolean