jaxl / JAXL

Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

Removed instance variables that hold total bytes sent/received. #93

Closed ManInTheBox closed 6 years ago

ManInTheBox commented 7 years ago

Keeping track of total bytes transmitted could easily end up with integer overflow if XMPP connection is persistent and running for some time. For example if you start JAXL it runs in an infinite loop without the way to reset these counters. I also think they are not that useful.

umpirsky commented 6 years ago

@abhinavsingh @frost-nzcr4 Ping. :)