Web with SSL enabled
Posted: Thu Oct 08, 2020 2:10 pm
When my MOD5441X application is built with SSL Support enabled, the HTTP webpage won't load. I'm not using any secure features of SSL.
I've stripped my Ethernet code down to the following:
I've stripped my Ethernet code down to the following:
Code: Select all
void InitEnet()
{
InitializeStack();
GetDHCPAddressIfNecessary();
OSChangePrio( USERMAIN_PRIO );
EnableAutoUpdate();
EnableTaskMonitor();
StartHTTP();
SetNewPostHandler( WebIncomingPost );
OldHttpHandler = SetNewGetHandler( MyHttpHandler );
}
int MyHttpHandler( int sock, PSTR url, PSTR rxb )
{
printf( "HTTP Using Old Handler for: %s, from: %s, with socket %d\r\n", rxb, url, sock );
return OldHttpHandler(sock, url, rxb);
}
[code]
When I attempt to load the page using Chrome, this is the result.
Output: "HTTP Using Old Handler for: GET /index.html, from: index.html, with socket 31"