Context: Windows 10, B4J 4.20 BETA and B4J 4.01
These steps,
or their equivalent using curl or wget, work properly with a Debug build. That is, the call to /demo/shutdown causes the binary to exit cleanly.
When built with Release, the call to /demo/shutdown is ignored and the server continues to operate.
I have stepped through a Debug build and everything seems to WAA (work as advertised.)
A demo project is attached.
-- Bruce/bugmagnet
These steps,
B4X:
f = new Http("http://localhost:8888/demo").setVerb("GET").openConnection().sendTraffic().result()
f = new Http("http://localhost:8888/demo/shutdown").setVerb("GET").openConnection().sendTraffic().result()
When built with Release, the call to /demo/shutdown is ignored and the server continues to operate.
I have stepped through a Debug build and everything seems to WAA (work as advertised.)
A demo project is attached.
-- Bruce/bugmagnet
Attachments
Last edited: