diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-15 20:42:39 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-15 20:43:04 (GMT) |
commit | 5885bbab8a235f1bc797487b459055f2b98cd433 (patch) | |
tree | e491e8ad3e891200d536a1674c2e146d8ee6f799 /src/main.c | |
parent | 39d4a4ca8aa4e6213414ba7be0d279fe3bc36ba4 (diff) | |
download | soup-transcoding-proxy-5885bbab8a235f1bc797487b459055f2b98cd433.zip soup-transcoding-proxy-5885bbab8a235f1bc797487b459055f2b98cd433.tar.gz |
main: Don't handle request-aborted
We hardly get any context about it, and we never actually did anything there
Diffstat (limited to 'src/main.c')
-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 |