Enable close connection for the inital WISPr request
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Oct 2010 15:52:56 +0000 (17:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Oct 2010 15:52:56 +0000 (17:52 +0200)
tools/wispr.c

index b64ead0..6d7a645 100644 (file)
@@ -112,6 +112,7 @@ int main(int argc, char *argv[])
 
        g_web_set_accept(web, NULL);
        g_web_set_user_agent(web, "SmartClient/%s wispr", VERSION);
+       g_web_set_close_connection(web, TRUE);
 
        if (option_url == NULL)
                option_url = g_strdup("http://connman.net/");