Skip to content

Commit c49f220

Browse files
committed
samples: net: http_get: restore original google.com hostname
This sample is expected to hit google.com so that the reply (a redirect) is minimal and can easily be visualized. This is also what sample.yaml expects to see (checks for "The document has moved"). Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 8b987d9 commit c49f220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/net/sockets/http_get/src/http_get.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#endif
3131

3232
/* HTTP server to connect to */
33-
#define HTTP_HOST "www.google.com"
33+
#define HTTP_HOST "google.com"
3434
/* Port to connect to, as string */
3535
#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS)
3636
#define HTTP_PORT "443"

0 commit comments

Comments
 (0)