Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
modified: lib/xmlrpc/client.rb
Added tcp connection closing.
In case of a greate number of requests no close connection led to a bug.
  • Loading branch information
Aleksei Kvitinskii committed Oct 19, 2010
commit e3eb024dceeec668fc235f2ec4ff4b0ef3803002
1 change: 1 addition & 0 deletions lib/xmlrpc/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ def do_rpc(request, async=false)

# post request
resp = @http.post2(@path, request, header)
@http.finish
end

@http_last_response = resp
Expand Down