From 6991be297704c231a4db1e0612564f772d972e93 Mon Sep 17 00:00:00 2001
From: Chandrashekhar Mullaparthi
Date: Wed, 29 Jul 2009 18:46:47 +0100
Subject: [PATCH] 29-07-2009 - * The ETS table created for load balancing of
requests was not being deleted which led to the node not being
able to create any more ETS tables if queries were made to
many number of webservers. ibrowse now deletes the ETS table
it creates once the last connection to a webserver is dropped.
Reported by Seth Falcon. * Spurious data being
returned at end of body in certain cases of chunked encoded
responses from the server. Reported by Chris Newcombe.
---
README | 12 ++++++++++-
doc/ibrowse.html | 10 +++++++--
src/ibrowse.erl | 41 ++++++++++++++++++++++++++++++++++++-
src/ibrowse_http_client.erl | 27 ++++++++++++++++--------
src/ibrowse_lb.erl | 38 ++++++++++++++++++++++++++--------
src/ibrowse_test.erl | 4 ++++
vsn.mk | 2 +-
7 files changed, 113 insertions(+), 21 deletions(-)
diff --git a/README b/README
index 5f7952d..238b443 100644
--- a/README
+++ b/README
@@ -18,12 +18,22 @@ ibrowse is available under two different licenses. LGPL and the BSD license.
Comments to : Chandrashekhar.Mullaparthi@gmail.com
-Version : 1.5.1
+Version : 1.5.2
Latest version : git://github.com/cmullaparthi/ibrowse.git
CONTRIBUTIONS & CHANGE HISTORY
==============================
+29-07-2009 - * The ETS table created for load balancing of requests was not
+ being deleted which led to the node not being able to create
+ any more ETS tables if queries were made to many number of
+ webservers. ibrowse now deletes the ETS table it creates once the
+ last connection to a webserver is dropped.
+ Reported by Seth Falcon.
+ * Spurious data being returned at end of body in certain cases of
+ chunked encoded responses from the server.
+ Reported by Chris Newcombe.
+
03-07-2009 - Added option {stream_to, {Pid, once}} which allows the caller
to control when it wants to receive more data. If this option
is used, the call ibrowse:stream_next(Req_id) should be used
diff --git a/doc/ibrowse.html b/doc/ibrowse.html
index 8cefb0f..2936446 100644
--- a/doc/ibrowse.html
+++ b/doc/ibrowse.html
@@ -12,7 +12,7 @@
The ibrowse application implements an HTTP 1.1 client.
Copyright © 2005-2009 Chandrashekhar Mullaparthi
-Version: 1.5.1
+Version: 1.5.2
Behaviours: gen_server.
Authors: Chandrashekhar Mullaparthi (chandrashekhar dot mullaparthi at gmail dot com).
@@ -90,6 +90,7 @@ send_req/4, send_req/5, send_req/6.
set_dest/3 | Deprecated. |
set_max_pipeline_size/3 | Set the maximum pipeline size for each connection to a specific Host:Port. |
set_max_sessions/3 | Set the maximum number of connections allowed to a specific Host:Port. |
+show_dest_status/0 | |
show_dest_status/2 | Shows some internal information about load balancing to a
specified Host:Port. |
spawn_link_worker_process/2 | Same as spawn_worker_process/2 except the the calling process
@@ -320,6 +321,11 @@ send_req/4, send_req/5, send_req/6.
set_max_sessions(Host::string(), Port::integer(), Max::integer()) -> ok
Set the maximum number of connections allowed to a specific Host:Port.
+
+
+ show_dest_status() -> any()
+
+
show_dest_status(Host, Port) -> any()
@@ -411,6 +417,6 @@ send_req/4, send_req/5, send_req/6.
- Generated by EDoc, Jul 7 2009, 23:13:24.
+ Generated by EDoc, Jul 29 2009, 18:43:30.
|