ofono.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Patches For MMSD
@ 2021-02-25  0:39 chris
  2021-02-25  0:42 ` [PATCH 1/9] Fix mmsd to work with T-mobile Christopher Talbot
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: chris @ 2021-02-25  0:39 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

Hello,

I am submitting some patches for mmsd. My apoligies for the last time, I messed up the email chain on sending it. I also looked through, and I think I have fixed the errors on my Patches.

I have a total of 9 patches. The first 8 are updates to the mmsd core, and the last one is a a plugin to have mmsd work with Modem Manager.

Chris Talbot

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 3/9] Ensure Compatibility with AT&T
@ 2021-04-10 14:20 Chris Talbot
  2021-04-10 14:21 ` [PATCH 4/9] Fix issue if there is an empty string in encoded text Chris Talbot
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Talbot @ 2021-04-10 14:20 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

This patch fixes two issues to ensure compatibility with AT&T:
1) Explicity close connections to the mmsc
2) Allow MMS Proxies that are domain names
---
 gweb/gweb.c   | 3 ++-
 src/service.c | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gweb/gweb.c b/gweb/gweb.c
index f72e137..995d12f 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -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) {
diff --git a/src/service.c b/src/service.c
index c7ef255..a3b90c5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -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 */
 	if (g_strcmp0(proxy, "") != 0)
 		g_web_set_proxy(service->web, proxy);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-04-10 14:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25  0:39 Patches For MMSD chris
2021-02-25  0:42 ` [PATCH 1/9] Fix mmsd to work with T-mobile Christopher Talbot
2021-02-25  0:43 ` [PATCH 2/9] Ensure Compatibility with Telus Canada Christopher Talbot
2021-02-25  0:44 ` [PATCH 3/9] Ensure Compatibility with AT&T Christopher Talbot
2021-02-25  0:45 ` [PATCH 4/9] Fix issue if there is an empty string in encoded text Christopher Talbot
2021-02-25  0:46 ` [PATCH 5/9] Allow for a user configurable maximum attachment size Christopher Talbot
2021-02-25  0:46 ` [PATCH 6/9] Update README Christopher Talbot
2021-02-25  0:47 ` [PATCH 7/9] Fix Draft and Sent Bugs Christopher Talbot
2021-02-25  0:48 ` [PATCH 8/9] Allow Maintainer mode to compile without -WError Christopher Talbot
2021-02-25  0:50 ` [PATCH 9/9] Add a Modem Manager Plugin Christopher Talbot
2021-04-10 14:20 [PATCH 3/9] Ensure Compatibility with AT&T Chris Talbot
2021-04-10 14:21 ` [PATCH 4/9] Fix issue if there is an empty string in encoded text Chris Talbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).