Andrew Thompson
07d1d75d54
Retry requests when the worker has the connection close
When a tcp_closed or ssl_closed message is handled while ibrowse is
trying to send a request to a worker, ibrowse would incorrectly return a
req_timedout message, when, in fact, the request had not even been
handled.
This patch attempts to avoid that race condition by signalling tcp or
ssl closed messages back to ibrowse differently than a normal exit.
vor 11 Jahren
Konstantin Tcepliaev
d785607a90
Allow comma-separated list in Transfer-Encoding response header.
This should, for example, allow user to specify "TE: gzip" header in request and unzip response body manually.
vor 11 Jahren
presidentua
2a5e7503f2
fix typo in name of module ibrowse_socks5
vor 12 Jahren
presidentua
d8150feeaf
add socks5 support
vor 12 Jahren
AeroNotix
74bb7933df
Fixed documentation errors
I fixed the documentation errors in order to get them to build I made
a cursory check through the source to ensure that they were correct
and it seems like they are so I submit this patch.
vor 12 Jahren
Paul Peter Flis
cd6a380d6f
send message after async response timeout
vor 12 Jahren
dis
bf362ac19c
allow binary header values
vor 12 Jahren
maruthavanan
f7a98b1ef9
Update src/ibrowse_lb.erl
vor 12 Jahren
maruthavanan
7c55ac9fc6
Update src/ibrowse_lb.erl
ets update counter throws exception when the corresponding process has already shutdown. Added line fee to L248
vor 12 Jahren
maruthavanan
bb9fe3078e
Update src/ibrowse_lb.erl
ets:update_counter crashes when select process has shutdown.
vor 12 Jahren
Joseph Wayne Norton
9612a2fe63
Add xref Makefile target
Move src/ibrowse_test.erl file to the test directory.
vor 12 Jahren
Joseph Wayne Norton
1a80940891
Add worker_process_options for start and start_link purposes
Typically used to specify non-default, garbage collection options.
vor 12 Jahren
Paul Oliver
d04d2078ca
Remove unused variable
vor 12 Jahren
Paul Oliver
225568e4f2
Add registered procs and let rebar handle modules list
vor 12 Jahren
Chandrashekhar Mullaparthi
9b8b042fb7
Fixed issue #67 with eyes wide open
vor 12 Jahren
Chandrashekhar Mullaparthi
52ce596b91
Bug fix for issue #67
vor 12 Jahren
chandru
ca3b5478bf
Fixed bug in using proxy
vor 12 Jahren
Chandrashekhar Mullaparthi
1fc0bc41e0
Fixed issue 67
vor 13 Jahren
benoitc
f8ebe0bb4a
add missing methods and reorder them by type.
vor 13 Jahren
benoitc
67eea91362
whitespaces
vor 13 Jahren
Tristan Sloughter
a6a19169ab
moved hrl to include dir
vor 13 Jahren
Chandrashekhar Mullaparthi
47cdce000d
Fixed URL parsing issue. Bumping up version number
vor 13 Jahren
Mistagrooves
7a8e53d855
Updated method of checking for empty
vor 13 Jahren
Mistagrooves
2c709e3cad
Accounted for empty lists as well
vor 13 Jahren
Mistagrooves
8dfdac84c1
A body generating function returning 0 data looks to the end server as the end of the entity which it shouldn't
vor 13 Jahren
Mistagrooves
a21fe24148
Fixed an issue where ibrowse_lb could shutdown before all connections are closed
vor 13 Jahren
Chandrashekhar Mullaparthi
0005cac696
Fixed issue with stopping ibrowse
vor 13 Jahren
Chandrashekhar Mullaparthi
26d34d542f
Behave consistently on errors
vor 13 Jahren
Chandrashekhar Mullaparthi
b9675455cc
Changing version number to reflect bug fix
vor 13 Jahren
Chandrashekhar Mullaparthi
0f4f99b0be
Fixed dialyzer warning which showed a bug!
vor 13 Jahren
Chandrashekhar Mullaparthi
3aabf5dfdf
Added get_metrics
vor 13 Jahren
Chandrashekhar Mullaparthi
d3d43e8529
Changes to load balancing and various other tweaks
vor 13 Jahren
David Mike Simon
baa7c7189e
Using actual project version in the otp app file
vor 13 Jahren
Tim Watson
51e220983f
Add support for appending additional configuration at runtime
vor 13 Jahren
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)
vor 13 Jahren
Hunter Kelly
47482f0564
Tell rebar to use last tag in git as the vsn().
vor 14 Jahren
Chandrashekhar Mullaparthi
e05aa73f1a
Fixes for issues reported. Work in progress
vor 14 Jahren
Filipe David Manana
ee06a43ddb
Use queue:peek/1 - more efficient than hd(queue:to_list(Queue))
vor 14 Jahren
Alexey Romanov
0e42656980
save_response_to_file option extended to support appending to an existing file
vor 14 Jahren
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.
vor 14 Jahren
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
vor 14 Jahren
Filipe David Manana
2ed96d5233
Add inet6 option to socket if host is IPv6 enabled
vor 14 Jahren
Chandrashekhar Mullaparthi
6ed0f3efee
Fixed bug with the save_response_to_file option.
vor 14 Jahren
Chandrashekhar Mullaparthi
9c4f4149ed
Upped version to 2.1.3
vor 14 Jahren
Chandrashekhar Mullaparthi
74c337792a
Various changes. See README for details
vor 14 Jahren
Andrew Tunnell-Jones
c141175ef1
Remove unused port driver code
vor 14 Jahren
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/*
vor 14 Jahren
Chandrashekhar Mullaparthi
7c8317a948
Make test URL an argument
vor 14 Jahren
Filipe David Manana
53753a26ed
Fix misspelled value 'no_reply' => 'noreply'
vor 14 Jahren
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.
vor 14 Jahren