summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-15 20:42:39 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-15 20:43:04 (GMT)
commit5885bbab8a235f1bc797487b459055f2b98cd433 (patch)
treee491e8ad3e891200d536a1674c2e146d8ee6f799 /src/main.c
parent39d4a4ca8aa4e6213414ba7be0d279fe3bc36ba4 (diff)
downloadsoup-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.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