EvoluxBR / greenswitch

Battle proven FreeSWITCH Event Socket Protocol client implementation with Gevent
Other
126 stars 50 forks source link

Error to read a event that contains special characters on python 3 #78

Closed evangilo closed 2 years ago

evangilo commented 2 years ago

If an event contains special characters the "sock.read" is reading more characters than specified in the "Content-Lenght", as a result, the event parsed could contain data of the next event.