Define http_listener if CPPREST_FORCE_HTTP_LISTENER_ASIO is defined (part 2) #612
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up to PR #608, which it turns out was too simple; sorry, @ras0219-msft.
Getting
http_listener
itself defined wasn't enough. This PR, along with PR #611, completes things. The main commit is 823f3b7, which makes surehttp_listener_impl
andhttp_server_api
are defined. The other three small commits resolve some compiler warnings (and errors on VS 2013, already discussed in PR #609) and enable an additional test case appropriate when asio is in use. I haven't merged PR #611 into this, since it stands alone, but in my environment that's necessary also.