THttpApplication doesn't terminate
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
When you call customapplication.terminate in a THttpApplication, the server stops listening but the application doesn't terminate.
Steps to reproduce:
Build the attached project and launch it from a console. Press CTRL+C to terminate it. You'll see the message that it's terminating but it actually doesn't.
If you try to connect to http://localhost:8085 before pressing CTRL+C you'll see that the server replies (with an error since the application is empty), after pressing CTRL+C the server isn't accepting connections any more.
Additional information:
The same project compiled with fpc 2.6.4 works as expected. With 3.0.4 and 3.2.0 (svn revision 43147) it doesn't. All tests made with Linux 64 bits.
Mantis conversion info:
- Mantis ID: 36741
- Version: 3.0.4