diff options
-rw-r--r-- | src/main.c | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -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 |