@@ -1309,7 +1309,8 @@ static guint do_request(GWeb *web, const char
*url,
session->address = g_strdup(session->host);
memset(&hints, 0, sizeof(struct addrinfo));
- hints.ai_flags = AI_NUMERICHOST;
+ /* Comment out next line to have AT&T MMS proxy work
*/
+ //hints.ai_flags = AI_NUMERICHOST;
hints.ai_family = session->web->family;
if (session->addr != NULL) {
@@ -2527,6 +2527,9 @@ void mms_service_bearer_notify(struct mms_service
*service, mms_bool_t active,
g_web_set_debug(service->web, (GWebDebugFunc)debug_print,
NULL);
+ /* Explicitly close connections to work with AT&T */
+ g_web_set_close_connection(service->web,TRUE);
+
/* Sometimes no proxy is reported as string instead of NULL */