summaryrefslogtreecommitdiff
path: root/tests/url.c
Commit message (Collapse)AuthorAge
* Add some wild card validation tests for URLs.Garrett D'Amore2018-12-22
| | | | | These tests are intended to demonstrate that we are not affected by the bug described in #821.
* move all public headers to include/nng/ folderGregor Burger2018-11-22
| | | | | | | | | | This change makes embedding nng + nggpp (or other projects depending on nng) in cmake easier. The header files are moved to a separate include directory. This also makes installation of the headers easier, and allows clearer identification of private vs public heade files. Some additional cleanups were performed by @gedamore, but the main credit for this change belongs with @gregorburger.
* Add, and document, the url->u_requri member.Garrett D'Amore2018-02-02
| | | | | This member is the value passed in actual HTTP protocol, so it is useful with the function nng_http_req_set_uri().
* fixes #222 Public URL APIGarrett D'Amore2018-01-23
|
* fixes #217 URL canonicalization needs workGarrett D'Amore2018-01-21
|
* Supply default ports for some well-known schemes.Garrett D'Amore2018-01-16
|
* Convert existing websocket and http code to use new URL framework.Garrett D'Amore2018-01-05
| | | | | | This also fixes a use-after-free bug in the HTTP framework, where the handler could be deleted why callbacks were still using it. (We now reference count the handlers.)
* Fix some more leaks, add a generic URL parser.Garrett D'Amore2018-01-05