spdy-http2 / node-spdy

SPDY server on Node.js
2.8k stars 196 forks source link

getCounter() function not found on connection object #225

Closed anandsuresh closed 8 years ago

anandsuresh commented 8 years ago

Line no. 271 on push_stream.js throws an error about the getCounter() function not being present on the connection object.

indutny commented 8 years ago

@anandsuresh I have fixed counters, I suggest to use req.socket.getCounter('push') at push_stream.js.

indutny commented 8 years ago

@anandsuresh actually, I was wrong req.socket._handle.stream.connection.getCounter. Sorry, it is too deep!