Use more reliable host in example-tls-client

Apparently TLS on mbed.org is broken again
This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-17 14:19:38 +02:00
parent 708b6eeca1
commit 42618b870a
2 changed files with 10 additions and 9 deletions

View file

@ -63,11 +63,11 @@ int main() {
#include "lwipv4_init.h"
namespace {
const char *HTTPS_SERVER_NAME = "mbed.org";
const char *HTTPS_SERVER_NAME = "developer.mbed.org";
const int HTTPS_SERVER_PORT = 443;
const int RECV_BUFFER_SIZE = 600;
const char HTTPS_PATH[] = "/assets/uploads/hello.txt";
const char HTTPS_PATH[] = "/media/uploads/mbed_official/hello.txt";
const size_t HTTPS_PATH_LEN = sizeof(HTTPS_PATH) - 1;
/* Test related data */