Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many changes to the lhttpc client #32

Closed
wants to merge 49 commits into from
Closed

Many changes to the lhttpc client #32

wants to merge 49 commits into from

Conversation

lastres
Copy link
Member

@lastres lastres commented Sep 3, 2013

This pull request includes all the changes that we have done to the client during the last months. I rebased against the master and should be ready to merge.

Before merging, it could be a good idea to tag the current version, as it is suggested in #30

lastres and others added 30 commits August 28, 2013 16:31
…ver.

Now it supports conections without using a pool.
It is possible to define clients and use them to establish connections.
All the code from this commit was done by me and Diana Corbacho.
…function.

Before one pool called lhttpc_manager was created during initialzation. With the new redesign this is not necessary.
Before it used to crash due to a call to parse_url.
…nection.

It was not able to reconect once the server replied with a connection close header. Now it reconnects to the same host specified when the user starts the client using lhttp:connect_client() function.
Made several tests fail and other clients reply with the new format.
Test cases that do not pass at the moment are also commented.
…iguration

* upload_window is not used any more, the gen_server synchronous call regulate the flow
* pool options are a grouped argument in connect call
Also remove some lines of old commented code.
Still migth be necessary to improve the specs.
…eaders and stores them in the State.

Still cookies need to be added to following request headers.
Still need to:
- Add option for using cookies or not
- Handle the path attribute on the cookie line.
- Handle the expire time of the cookies.
- Rewrite cookies with same name, not add them.
…path to include cookie when creating request.
Cookies are automatically deleted when they expire or return "delete" as their value.
… one the client is connected.

Before it was possible to send requests with URL different to the one to which the client is connected, and the host and port were ignored (used the ones connected to). Now it checks wheter they are the same or gives an error otherwise.
@robertoaloi
Copy link
Contributor

As it is, this pull request is too wide for a proper review. Could you please split it in few, separate, pull requests?

@lastres
Copy link
Member Author

lastres commented Oct 1, 2013

Hi Roberto.

I know it is too big for a single pull request, it is more a merge from a development branch. The development was done in my own fork, and we were using pull requests and code reviews. You can see it on https://github.com/Lastres/lhttpc and take a look at the smaller pull requests.
I've done a rebase from that fork to the esl/master (then the merge pull request commits disappear) and added the last 7 commits included here, which are basically fixing the old documentation and adding a decent Readme.md file.

cheers,

/Ramón.

@lastres lastres closed this Mar 5, 2014
g-andrade pushed a commit to g-andrade/lhttpc that referenced this pull request Nov 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants