Chandrashekhar Mullaparthi
bd4f1565d7
Merge pull request #54 from hyperthunk/runtime-config
Add support for appending additional configuration at runtime
пре 13 година
Tim Watson
51e220983f
Add support for appending additional configuration at runtime
пре 13 година
Chandrashekhar Mullaparthi
63ae845fd8
Merge pull request #53 from asonge/master
Remove direct dependency on sasl
пре 13 година
Alexander Songe
92f58983ff
Making ibrowse safe for logging democracy (let the person packaging an app with ibrowse choose their logger, sasl or lager or something custom)
пре 13 година
Chandrashekhar Mullaparthi
b848be03f9
Merge pull request #47 from retnuh/master
Fix vsn() handling for rebar
пре 14 година
Hunter Kelly
47482f0564
Tell rebar to use last tag in git as the vsn().
пре 14 година
Chandrashekhar Mullaparthi
6c31dcea9e
Merge branch 'master' of github.com:cmullaparthi/ibrowse
пре 14 година
Chandrashekhar Mullaparthi
e05aa73f1a
Fixes for issues reported. Work in progress
пре 14 година
Chandrashekhar Mullaparthi
4153418730
Merge pull request #43 from fdmanana/queue_peek
Use queue:peek/1 - more efficient than hd(queue:to_list(Queue))
пре 14 година
Filipe David Manana
ee06a43ddb
Use queue:peek/1 - more efficient than hd(queue:to_list(Queue))
пре 14 година
Chandrashekhar Mullaparthi
5be7075fb4
Merged pull request #38 from alexeyr/append_file.
save_response_to_file option extended to support appending to an existing file
пре 14 година
Alexey Romanov
0e42656980
save_response_to_file option extended to support appending to an existing file
пре 14 година
Chandrashekhar Mullaparthi
8c46b108bb
Filipe added support for IPv6
пре 14 година
Chandrashekhar Mullaparthi
b2d8d960b0
Merge branch 'dev' of https://github.com/hibari/ibrowse into hibari-dev
пре 14 година
Filipe David Manana
f5640f564b
More reliable IPv6 detection
inet:gethostbyname/1 might fail for IPv6 literals, therefore check first
if host is an IPv6 address literal.
пре 14 година
Filipe David Manana
3367f003e3
ibrowse_lib:parse_url/1 now accepts IPv6 literals as hostnames
As specified in the following RFC: http://www.ietf.org/rfc/rfc2732.txt
пре 14 година
Joseph Wayne Norton
553ec676fb
Add .eunit/
пре 14 година
Joseph Wayne Norton
ad59aa12d0
Ignore ebin/
пре 14 година
Filipe David Manana
2ed96d5233
Add inet6 option to socket if host is IPv6 enabled
пре 14 година
Chandrashekhar Mullaparthi
6ed0f3efee
Fixed bug with the save_response_to_file option.
пре 14 година
Chandrashekhar Mullaparthi
9c4f4149ed
Upped version to 2.1.3
пре 14 година
Chandrashekhar Mullaparthi
0757ff975d
Rebarize ibrowse. Slightly tweakeed Andrew Tunnell-Jones' pull request
пре 14 година
Chandrashekhar Mullaparthi
74c337792a
Various changes. See README for details
пре 14 година
Andrew Tunnell-Jones
c141175ef1
Remove unused port driver code
пре 14 година
Andrew Tunnell-Jones
8c12491c68
Use rebar as build tool
* Add rebar
* Move build flags from src/Makefile to rebar.config
* Remove src/Makefile
* Put version in src/ibrowse.app.src
* Remove vsn.mk
* Remove ebin/ibrowse.app
* Change Makefile to read version from src/ibrowse.app.src
* Change Makefile all target to call ./rebar compile
* Change Makefile clean target to call ./rebar clean
* Update .gitignore to ignore ebin/*
пре 14 година
Chandrashekhar Mullaparthi
9110bdbc4a
Merge branch 'stream_next_reset_inac_timer' of https://github.com/fdmanana/ibrowse into fdmanana-stream_next_reset_inac_timer
пре 14 година
Chandrashekhar Mullaparthi
9fc7a08cbe
Merge branch 'allow_custom_nodelay' of https://github.com/fdmanana/ibrowse into fdmanana-allow_custom_nodelay
пре 14 година
Chandrashekhar Mullaparthi
4d5417515c
Merge branch 'stream_iolists' of https://github.com/fdmanana/ibrowse into fdmanana-stream_iolists
пре 14 година
Chandrashekhar Mullaparthi
11ddee38d3
Merge branch 'fix_stream_to_once_get_header' of https://github.com/fdmanana/ibrowse into fdmanana-fix_stream_to_once_get_header
пре 14 година
Chandrashekhar Mullaparthi
7d0168ad76
Merge branch 'clear_inac_timeout_before_send' of https://github.com/fdmanana/ibrowse into fdmanana-clear_inac_timeout_before_send
пре 14 година
Chandrashekhar Mullaparthi
7c8317a948
Make test URL an argument
пре 14 година
Filipe David Manana
53753a26ed
Fix misspelled value 'no_reply' => 'noreply'
пре 14 година
Filipe David Manana
20b7f662f5
Don't trigger new inactivity timer when socket data is received and caller controls the socket
Like in synchronous programming, in makes sense to start an inactivity timer only when the caller
does a "recv" call and cancel the timer as soon as data is received from the socket.
пре 14 година
Filipe David Manana
c98fcc8108
Reset inactivity timeout when stream_next is invoked
This avoids plenty of connection inactivity timeouts. From a logical point of view,
the inactivity timeout should be reset not only only data is received from the socket
but also when the client asks for more data.
пре 14 година
Filipe David Manana
901eb69d47
Allow custom nodelay socket option
Currently ibrowse defined the nodelay socket option to true, not allowing the caller
to supply its own value, which would also make the sndbuf option useless if the caller
supplied it as well.
When sending large bodies, setting nodelay to false with a custom sndbuf can improve
network throughput very significantly. For e.g., custom tests reduced an upload from
16 minutes to about 12 minutes.
пре 14 година
Filipe David Manana
74d6f70b44
Don't convert chunks into binaries
Allow chunks to be IO lists. These lists will get flattened by the ERTS in
a much more efficient way than converting them to raw binaries in Erlang code.
пре 14 година
Filipe David Manana
ab5ac287b8
Fix worker process hanging when it received partial headers and the caller controls the socket
пре 14 година
Filipe David Manana
80e050a6ce
Fix invalid req_timedout errors
When reusing the same connection (ibrowse worker) for multiple requests, the current
inactivity timeout must be cleared before sending a request body. When the sending of the
body takes more than inactivity_timeout milliseconds, the client will get
a req_timedout error. Currenty inactivity_timer is cleared only after sending the whole body.
пре 14 година
Chandrashekhar Mullaparthi
5b13e5b245
Pipelining wasn't working when used with the {stream_to, {Pid, once}} option
пре 14 година
Chandrashekhar Mullaparthi
3dabcaa174
Release 2.1.1. Various fixes. See README
пре 14 година
Chandrashekhar Mullaparthi
12f3fc664f
Merge branch 'content_length_empty_body' of https://github.com/fdmanana/ibrowse into fdmanana-content_length_empty_body
пре 14 година
jlo
5344ea2a1a
- fix crash when requesting to close a stream connection.
пре 14 година
jlo
d33070b86b
- fix bug when using an ssl socket with socket_options.
do_setopts/3 was being called with the 3rd arg as a boolean instead of the "State".
пре 14 година
Filipe David Manana
96118961d0
Two changes:
1) Set Content-Length to 0 for empty PUT and POST requests (necessary for some proxies);
2) Use iolist_size/1 instead of size/1 or length/1 because the body can be an iolist
пре 14 година
Chandrashekhar Mullaparthi
d5d3f1f4cd
Corrected names of contributors in README
пре 14 година
Chandrashekhar Mullaparthi
f00fe6e464
Corrected version number in README
пре 14 година
Chandrashekhar Mullaparthi
1a08838a3b
Release 2.1.0
пре 14 година
Chandrashekhar Mullaparthi
7958fc2f6b
Removed spurious io:format
пре 14 година
Chandrashekhar Mullaparthi
d756a2b0b6
Various changes. See README for details
пре 14 година
Chandrashekhar Mullaparthi
c6a698c099
Merged changes from Filipe David Manana to use the base64 OTP module for Base64 encoding/decoding
пре 15 година