Nick Vatamaniuc
d775155a13
Increase timeout in pipelining test ( #174 )
In CouchDB's CI the small_pipeline test intermittently fails with
something like:
```
in function ibrowse_tests:'-small_pipeline/0-fun-5-'/1 (test/ibrowse_tests.erl, line 150)
{line,150},
{expression,"Counts"},
{expected,"\n\n\n\n\n\n\n\n\n\n"},
{value,"\n\n\n\n\n\n\n\n\t\n"}]}
```
Increasing the timeout a bit seems to help in local tests.
3 jaren geleden
Noah Shaw
6c81151591
Add strictly monotonic timestamp ( #173 )
3 jaren geleden
Nick Vatamaniuc
de04453d79
Use ssl:handshake/2 in test server on Erlang 21+ versions ( #172 )
`ssl:ssl_acceppt` is deprecated. We use the `OTP_RELEASE` define which exists
on OTP 21+ only.
4 jaren geleden
Nick Vatamaniuc
232f83c7af
Introduce an option to not trap process exits in worker processes ( #171 )
When worker processes are part of an external connection pool it may make sense
to rely on automatic cleanup based on links. Since by default worker processes
trap exits, linked proceses would fail to terminate the ibrowse worker and
instead it would generate an '{'EXIT', Pid, Reason}' which is handled in
handle_info/2 with a warning to stdout.
Add a new option to allow users to control worker process link behavior via an
ibrowse config parameter. The default stays the same (=true).
4 jaren geleden
Olle Jonsson
24cb21f9ec
README: Use SVG badge ( #168 )
4 jaren geleden
Chandrashekhar Mullaparthi
e6a0c366fc
Prefer IPv4 by default. Use the option `{prefer_ipv6, true}` to force ibrowse to use ipv6 where available.
6 jaren geleden
Chandrashekhar Mullaparthi
ffe353054e
Merge pull request #164 from skunkwerks/master
new release bundling community contributions
6 jaren geleden
Dave Cottlehuber
f720acc047
new release bundling community contributions
6 jaren geleden
Chandrashekhar Mullaparthi
7f15865ecb
Merge pull request #163 from tazjin/fix/issue-160-tls-upgrades
Initialise TLS sockets directly if no socks5 proxy is configured
6 jaren geleden
Vincent Ambo
9829a07c92
Initialise TLS sockets directly if no socks5 proxy is configured
In cases where no proxy is configured, first establishing a TCP
connection and then upgrading the connection to TLS can cause errors
on some TLS servers.
This commit splits the logic in such a way that configurations without
proxies (presumably the majority!) will connect directly using
`ssl:connect`, whilst proxy connections will still establish a socket
first and then upgrade.
This fixes #160 .
6 jaren geleden
Chandrashekhar Mullaparthi
555f7074c3
Merge pull request #155 from nroi/master
Add address family for inet:gethostbyname/2 call
7 jaren geleden
Chandrashekhar Mullaparthi
c97136cfb6
Merge pull request #153 from shakugan/master
fix to calling genserver.reply(:undefined, ....)
7 jaren geleden
Chandrashekhar Mullaparthi
5ebdab2d01
Merge pull request #156 from getong/update_erlang_test
add erlang 19, 20 for test
7 jaren geleden
getong
02be390f66
add erlang 19, 20 for test
7 jaren geleden
Fabian Muscariello
ce20f975b4
Add address family for inet:gethostbyname/2 call
The previously used inet:gethostbyname/1 would use IPv6 only if
inet_db:res_option(inet6) returned true, but the default resolver
setting for inet6 is false.
8 jaren geleden
Shadow
5b87ac71bc
.
8 jaren geleden
Shadow
74c335d7e8
.
8 jaren geleden
Chandrashekhar Mullaparthi
7529807170
Publishing to hex.pm requires version 4.4.0, not just 4.4
8 jaren geleden
Chandrashekhar Mullaparthi
63e830d12d
New release bundling patches for the past 6 months
8 jaren geleden
Chandrashekhar Mullaparthi
303bc1fc9d
Merge pull request #151 from meetnow/master
Added stream_full_chunks option
8 jaren geleden
Patrick Schneider
fd3c3ad9bf
Added stream_full_chunks option
With this option, the process given by stream_to will get a message with chunk data each fully received chunk; stream_chunk_size is set to infinity for this. This is useful for certain applications that stream live data with each unit being represented by a single chunk; one example is CouchDB's continuous changes feed.
8 jaren geleden
Chandrashekhar Mullaparthi
c4bb66ec2a
Merge pull request #145 from shakugan/patch-1
sock options ignored on ssl
8 jaren geleden
Chandru Mullaparthi
b28542d1e3
Bug fix for spurious timeout messages being sent to the client in certain cases. Other cleanup
9 jaren geleden
shakugan
2bf69b3955
call ssl:connect/3 with connect_timeout param
Conn_timeout = get_value(connect_timeout, Options, Timeout),
case do_connect(Host_1, Port_1, Options, State_2, Conn_timeout) of
9 jaren geleden
shakugan
216f84cf92
sock options ignored on ssl
9 jaren geleden
Chandru Mullaparthi
07e47c6ba0
New release after fixing travis-ci builds
9 jaren geleden
Chandru Mullaparthi
b1e9ad427f
Modified build to get travis builds to succeed
9 jaren geleden
Chandru Mullaparthi
7aa39ea575
Modified build to get travis builds to succeed
9 jaren geleden
Chandru Mullaparthi
017ab585e4
Invoke eunit tests only for files in src directory
9 jaren geleden
Chandru Mullaparthi
6d5bcef5ff
Bug fixes
9 jaren geleden
Chandrashekhar Mullaparthi
b5c705cb8f
Fixed invocation of socks proxy
9 jaren geleden
Chandrashekhar Mullaparthi
1917a70868
Clean up tests
9 jaren geleden
Chandrashekhar Mullaparthi
411468d749
Fix for #139 - file not being saved to disk when server does not respond with content-length
9 jaren geleden
Chandrashekhar Mullaparthi
a1be5369c9
Fixed links
9 jaren geleden
Chandrashekhar Mullaparthi
96ea3cbb6b
Fixed links
9 jaren geleden
Chandrashekhar Mullaparthi
ecff14ab23
Version incremented
9 jaren geleden
Chandrashekhar Mullaparthi
79e26aed6b
Removed lines which were failing travis builds
9 jaren geleden
Chandrashekhar Mullaparthi
ad31b0375b
Merge branch 'barrel-db-master'
9 jaren geleden
Chandrashekhar Mullaparthi
14bb6b8d04
Merge branch 'master' of https://github.com/barrel-db/ibrowse into barrel-db-master
9 jaren geleden
benoitc
82f61864a0
fix travis tests
9 jaren geleden
benoitc
a2bd3485ec
update doc
9 jaren geleden
benoitc
8734ed3d0d
fix tests
9 jaren geleden
benoitc
1439ab010b
move to rebar3
9 jaren geleden
benoitc
45099028d8
use global rebar
9 jaren geleden
benoitc
94fab9a4d9
add hex metadata
for packaging in hex
9 jaren geleden
Chandrashekhar Mullaparthi
1ae07edae8
Added info for hex
9 jaren geleden
Chandrashekhar Mullaparthi
fd81d44182
Version 4.2
9 jaren geleden
Chandrashekhar Mullaparthi
7c4d098b79
Merge branch 'master' of https://github.com/shankardevy/ibrowse into shankardevy-master
9 jaren geleden
Chandrashekhar Mullaparthi
ae6a91855b
Merge branch 'merge_pull_req_123'
9 jaren geleden
Chandrashekhar Mullaparthi
3c96a918ca
Removed update to author list. Names are already in the CONTRIBUTORS file. This is a consistent approach to the way contributions from everyone else has been handled over the years. Correct authorship has been acknowledged in the new module ibrowse_functional_tests.erl
9 jaren geleden