joyent/node — Issue #2411: http_request.pause()
Author: rlidwka
Created: 2011-12-23 18:50:58+00:00
State: open

```javascript
var HTTP = require('http');

var httpserv = HTTP.createServer(function (r) {
r.pause();
r.on('data', function(){console.log('data fired')});
r.on('end', function(){console.log('end fired')});
});
httpserv.listen(8888);
```

Here we starting a server and listening for data and end events. But we paused stream, so, we shouldn't get any events, right?

But if I make simple GET request without any data, "end" event still emitting... Is this a bug, or I'm missing something?