You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ha...@apache.org on 2010/04/05 03:00:23 UTC
svn commit: r930774 - in /hadoop/avro/trunk: CHANGES.txt
lang/py/test/sample_http_client.py
Author: hammer
Date: Mon Apr 5 01:00:22 2010
New Revision: 930774
URL: http://svn.apache.org/viewvc?rev=930774&view=rev
Log:
AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)
Modified:
hadoop/avro/trunk/CHANGES.txt
hadoop/avro/trunk/lang/py/test/sample_http_client.py
Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=930774&r1=930773&r2=930774&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Mon Apr 5 01:00:22 2010
@@ -24,6 +24,8 @@ Avro 1.4.0 (unreleased)
AVRO-502. Memory leak from parsing JSON schema.
(Robert G. Jakabosky via massie)
+ AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)
+
Avro 1.3.2 (31 March 2010)
IMPROVEMENTS
Modified: hadoop/avro/trunk/lang/py/test/sample_http_client.py
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/py/test/sample_http_client.py?rev=930774&r1=930773&r2=930774&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/py/test/sample_http_client.py (original)
+++ hadoop/avro/trunk/lang/py/test/sample_http_client.py Mon Apr 5 01:00:22 2010
@@ -59,9 +59,7 @@ class UsageError(Exception):
return repr(self.value)
def make_requestor(server_host, server_port, protocol):
- conn = httplib.HTTPConnection(SERVER_HOST, SERVER_PORT)
- conn.connect()
- client = ipc.HTTPTransceiver(conn)
+ client = ipc.HTTPTransceiver(SERVER_HOST, SERVER_PORT)
return ipc.Requestor(protocol, client)
if __name__ == '__main__':