Describe the bug
TR064::init fails with current ESP8266HTTPClient library.
Expected/Attempted behavior
TR064::init returns if the connection is working.
Observed behavious
The ESP8266 crashes and reboots.
µController
Wemos D1 mini
Reason
The current HTTPClient library takes a clone of the WifiConnection, and performs the HTTP interaction on that clone. You must not use &tr064connection (the original) in the xmlTakeParam functions, instead, use http.getStreamPtr() (returning the current clone). The develop branch contains working code.
Describe the bug
TR064::initfails with current ESP8266HTTPClient library.Expected/Attempted behavior
TR064::initreturns if the connection is working.Observed behavious
The ESP8266 crashes and reboots.
µController
Wemos D1 mini
Reason
The current HTTPClient library takes a clone of the WifiConnection, and performs the HTTP interaction on that clone. You must not use
&tr064connection(the original) in thexmlTakeParamfunctions, instead, usehttp.getStreamPtr()(returning the current clone). The develop branch contains working code.