New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
socket intial recv() latency #42360
Comments
I have tested a socket client script on two versions of Should I expect this kind of effect as software evolves or ------------- import socket
host = "xx.xx.xx.xx"
port = xxxx
DSN = "xxxx;UID=xxxx;"
length = 1024
Request = '''xxxxxxx'''
socket = socket.socket(socket.AF_INET,
socket.SOCK_STREAM)
socket.connect((host,port)) XML = '' bytecount = socket.send(Request)
while XML[-10:-1] != EOM:
XML += socket.recv(length)
socket.close() strace results on client script run from command line:
[pid 14467] socket(PF_INET, SOCK_STREAM,
[pid 11072] socket(PF_INET, SOCK_STREAM,
|
Logged In: YES You should try to run the script on two different versions |
Logged In: YES This was caused by the xml-odbc server end. It was As this is nothing to do with Python, RedHat etc. perhaps |
Can we close this one? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: