Re: [Twisted-Python] Reporting total traffic that goes through an SSL socket

2015-03-26 Thread Burak Arslan
Hey Glyph, On 03/25/15 22:20, Glyph Lefkowitz wrote: > > However, there is a ticket in > progress: https://twistedmatrix.com/trac/ticket/5642 which has some > code that demonstrates how to make the TLS stuff "purely" a wrapper > all the way from the endpoint to your application code. > > What you

Re: [Twisted-Python] Reporting total traffic that goes through an SSL socket

2015-03-25 Thread Glyph Lefkowitz
> On Mar 25, 2015, at 1:35 AM, Burak Arslan wrote: > > Hello All, > > I'm using twisted for implementing a custom protocol via SSL. > > I've been wondering though, is there an easy way of counting the number > of bytes that go in and out of the socket, including SSL overhead? Well, "easy" is

[Twisted-Python] Reporting total traffic that goes through an SSL socket

2015-03-25 Thread Burak Arslan
Hello All, I'm using twisted for implementing a custom protocol via SSL. I've been wondering though, is there an easy way of counting the number of bytes that go in and out of the socket, including SSL overhead? I can easily count what I'm reading and I'm writing, but not what actually goes throu