Menu

#77 test/echoServer.py -s does not work

open
nobody
None
5
2005-03-02
2005-03-02
Chai Ang
No

Hi there,
Kudos to the developers. Very clever work.

Anyway, echoServer.py has SSL defined as an int.
Python 2.3.5 on Linux Redhat WS 3 doesnt like it.
I renamed SSL to SSL_i and the test now runs.

Gratefully,
Chai

--- tests/echoServer.py 2005-03-02 16:17:02.000000000 +1100
*************** def echo_header(s, _SOAPContext):
*** 145,153 ****

addr = ('localhost', 9900)
GSI = 0
! SSL = 0
if len(sys.argv) > 1 and sys.argv[1] == '-s':
! SSL = 1
if not Config.SSLserver:
raise RuntimeError, \ "this Python installation doesn't have
OpenSSL and M2Crypto"
--- 145,153 ----

addr = ('localhost', 9900)
GSI = 0
! SSL_i = 0
if len(sys.argv) > 1 and sys.argv[1] == '-s':
! SSL_i = 1
if not Config.SSLserver:
raise RuntimeError, \ "this Python installation doesn't have
OpenSSL and M2Crypto"

Discussion


Log in to post a comment.