This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pfreixes
Recipients Dima.Tisnek, gvanrossum, pfreixes, yselivanov
Date 2017-07-07.07:10:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499411433.06.0.624895918421.issue30861@psf.upfronthosting.co.za>
In-reply-to
Content
I think that we are not in the same page, the following snippet is a nodejs client that emulates the same:

var net = require('net');
var sleep = require('sleep');

var client = new net.Socket();
client.connect(6379, '127.0.0.1', function() {
    console.log('Connected');
    sleep.sleep(10); // wait for data and RST package
});

client.on('data', function(data) {
    console.log('Received: ' + data);
});

client.on('close', function() {
    console.log('Connection closed');
});

The client will be able to get the data, even taking into account that the RST package has been processed by the Operating System. Meanwhile, the same behavior with asyncio is unpredictable.
History
Date User Action Args
2017-07-07 07:10:33pfreixessetrecipients: + pfreixes, gvanrossum, Dima.Tisnek, yselivanov
2017-07-07 07:10:33pfreixessetmessageid: <1499411433.06.0.624895918421.issue30861@psf.upfronthosting.co.za>
2017-07-07 07:10:33pfreixeslinkissue30861 messages
2017-07-07 07:10:32pfreixescreate