[PATCH v5 14/20] net-lwip: lwIP wget supports user defined port in the uri, so allow it.

Jerome Forissier jerome.forissier at linaro.org
Thu Jul 25 14:57:35 CEST 2024


From: Jonathan Humphreys <j-humphreys at ti.com>

Signed-off-by: Jonathan Humphreys <j-humphreys at ti.com>
Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
---
 net/lwip/wget.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/net/lwip/wget.c b/net/lwip/wget.c
index 65a69fab6e8..bd1aab499d2 100644
--- a/net/lwip/wget.c
+++ b/net/lwip/wget.c
@@ -264,12 +264,6 @@ bool wget_validate_uri(char *uri)
 		ret = false;
 		goto out;
 	}
-	s = strchr(authority, ':');
-	if (s) {
-		log_err("user defined port is not supported\n");
-		ret = false;
-		goto out;
-	}
 
 out:
 	free(str_copy);
-- 
2.40.1



More information about the U-Boot mailing list