History log of /libevent-2.1.12/sample/http-connect.c (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable
# e2424229 12-Jan-2020 Azat Khuzhin <[email protected]>

Merge branch 'http-connect'

After this patchset http-connect works with pproxy [1]:

$ pproxy -l http://:8000/ -vvv &
$ http-connect //127.1:8000 http://kernel.org:80/

[1]: https://pypi.o

Merge branch 'http-connect'

After this patchset http-connect works with pproxy [1]:

$ pproxy -l http://:8000/ -vvv &
$ http-connect //127.1:8000 http://kernel.org:80/

[1]: https://pypi.org/project/pproxy/

* http-connect:
http-connect: do not check connection on GET cb
http-connect: set Host header (for CONNECT and GET) (like curl)
http-connect: cleanup and helpers
http: do not close connection for CONNECT
http: do not assume body for CONNECT

Fixes: #946
(cherry picked from commit 462f2e97660cc2b6af563ab631050a83c3e0935b)

show more ...


Revision tags: release-2.1.11-stable, release-2.1.10-stable, release-2.1.9-beta, release-2.0.23-beta
# c544222f 28-May-2017 Azat Khuzhin <[email protected]>

http-connect: exit on error

(cherry picked from commit d22e12eefa11aab34b95e8b07b823f3ad0597239)


Revision tags: release-2.1.8-stable
# 0abe4eba 06-Dec-2016 Azat Khuzhin <[email protected]>

sample/http-connect: fix compilation with VS2010

Fixes: nmathewson/Libevent#137


Revision tags: release-2.1.7-rc, release-2.1.6-beta
# 1bf75956 11-Jan-2016 Azat Khuzhin <[email protected]>

http-connect: make it win32 compilable

Fixes: commit 1d34498ea31134bd7a8fcadcb95910b30a479e19 ("sample: add HTTP
CONNECT tunnelling example using libevent http layer")


# 6dc71e70 18-Aug-2015 Azat Khuzhin <[email protected]>

sample/http-connect: don't use assert() to make it work with NDEBUG

Otherwise it will not work for cmake release target type.


# f976d436 18-Aug-2015 Azat Khuzhin <[email protected]>

sample/http-connect: made it compatible with C90


# 1d34498e 18-Aug-2015 Azat Khuzhin <[email protected]>

sample: add HTTP CONNECT tunnelling example using libevent http layer