Commit a79bc61b authored by Chris T's avatar Chris T
Browse files

Ensure Compatibilty with AT&T

parent a3e1f1cf
......@@ -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) {
......
......@@ -2528,6 +2528,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 */
if (g_strcmp0(proxy, "") != 0)
g_web_set_proxy(service->web, proxy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment