Skip to content

Commit

Permalink
update joyent/http-parser to nodejs/http-parser
Browse files Browse the repository at this point in the history
as suggested by [max](https://github.com/blochberger)
  • Loading branch information
azadkuh committed Mar 31, 2016
1 parent 5433eb6 commit 3add764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

`QHttp` is a lightweight, asynchronous and fast HTTP library, containing both server and client side classes for managing connections, parsing and building HTTP requests and responses. this project is inspired by [nikhilm/qhttpserver](https://github.com/nikhilm/qhttpserver) effort to implement a Qt HTTP server. `QHttp` pushes the idea further by implementing client classes and better memory management, a lot more Node.js-like API, ...

* the fantastic [joyent/http-parser](https://github.com/joyent/http-parser) is the core parser of HTTP requests (server mode) and responses (client mode).
* the fantastic [nodejs/http-parser](https://github.com/nodejs/http-parser) is the core parser of HTTP requests (server mode) and responses (client mode).

* By using `std::function` and `c++11 lambda`, the API is intentionally similar to the [Node.js' http module](http://nodejs.org/api/http.html). Asynchronous and non-blocking HTTP programming is quite easy with `QHttp`. have a look at [sample codes](#sample-codes).

Expand Down
4 changes: 2 additions & 2 deletions update-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ echo "preparing the latest version of 3rd-party dependencies ...\n"
mkdir -p 3rdparty
cd 3rdparty

echo "--> joyent / http-parser"
echo "--> nodejs / http-parser"
if [ -e http-parser ]; then
cd http-parser
git pull origin master
else
git clone --depth=1 https://github.com/joyent/http-parser.git -b master
git clone https://github.com/nodejs/http-parser.git
fi

cd ..
Expand Down

0 comments on commit 3add764

Please sign in to comment.