Fix a bug with Perl's TSocket and THttpClient.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 19:45:24 +0000 (19:45 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 19:45:24 +0000 (19:45 +0000)
commit7502e0be13ca6748cb501de0c6c4eaaeba6ec499
treeecb970851d52c258f14c8d1f5bfd4608839fb2f0
parent4b83d6ddeb2d9b5a4102839cfe0d38fe2c72411d
Fix a bug with Perl's TSocket and THttpClient.

The underlying Perl library expects timeouts in seconds, but the
documentation for the Thrift classes says the should be in milliseconds.
This changes divides timeouts by 1000 to make that the case.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665585 13f79535-47bb-0310-9956-ffa450edef68
lib/perl/lib/Thrift/HttpClient.pm
lib/perl/lib/Thrift/Socket.pm