From 5885bbab8a235f1bc797487b459055f2b98cd433 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 16 Jul 2014 02:12:39 +0530 Subject: main: Don't handle request-aborted We hardly get any context about it, and we never actually did anything there --- src/main.c | 21 +-------------------- 1 file changed, 1 insertion(+), 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 -- cgit v0.11.2-2-gd1dd