Re: [Cppcms-users] async connections and response headers
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-13 21:29:45
|
Hello, > > hey, > > i switched to the beta. however the problem with the missing response > headers persist. so please notify me when you commit changes that should > address this. meanwhile i try to live without response headers. Ok. I cleaup the synchronous and asynchronous request handling added test cases for both, now it looks fine, including sending 404 in case of unmapped url. Hopefully no more surprises are expected. One important change in behavior had added: - if the application do not releases asynchronous request before exiting main function, it is automatically finalized and closed, so if you want to postpone response, don't forget to call release_context(). - it is no more required to call response().finalized() function as async_complete_response() does all job. Thanks for the issue report, Artyom |