THRIFT-3053: Added perl SSL Socket support, split SSLSocket and SSLServerSocket out from their base classes, fixed THRIFT-3191 generated perl compiler exception handling code, added perl to make cross, fixed THRIFT-3189 allowing perl to listen on a specific interface through construction arguments. Did not add support in the perl client SSLSocket to verify server certificate authenticity at this time.
diff --git a/test/tests.json b/test/tests.json
index 04142cb..d7caccb 100644
--- a/test/tests.json
+++ b/test/tests.json
@@ -301,21 +301,34 @@
},
{
"name": "perl",
+ "transports": [
+ "buffered",
+ "framed"
+ ],
+ "sockets": [
+ "ip",
+ "ip-ssl"
+ ],
+ "protocols": [
+ "binary"
+ ],
"client": {
- "transports": [
- "buffered"
- ],
- "sockets": [
- "ip"
- ],
- "protocols": [
- "binary"
- ],
"command": [
"perl",
"-Igen-perl/",
"-I../../lib/perl/lib/",
- "TestClient.pl"
+ "TestClient.pl",
+ "--cert=../../test/keys/client.pem"
+ ]
+ },
+ "server": {
+ "command": [
+ "perl",
+ "-Igen-perl/",
+ "-I../../lib/perl/lib/",
+ "TestServer.pl",
+ "--cert=../../test/keys/server.pem",
+ "--key=../../test/keys/server.key"
]
},
"workdir": "perl"