You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
I have noted that while special records in the memcached the library causes the uncaught exceptions. E.g. record like {"agent": "SI-DEC-S1(ENDO)", "user": "[email protected]"} causes exception
ERROR while parsing: {"agent":"SI-DEC-S Un-caught exception: TypeError: Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
at [object Object].determine_reply_handler (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:260:30)
at [object Object].handle_received_data (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:217:21)
at Socket. (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:62:12)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:367:14)
I have tried to replace the command "buffer.indexOf('END')" with "buffer.lastIndexOf('END')" mostly occurred in the handle_get function and, seems, it comes to the perfect working state.
Simon
The text was updated successfully, but these errors were encountered:
I have noted that while special records in the memcached the library causes the uncaught exceptions. E.g. record like {"agent": "SI-DEC-S1(ENDO)", "user": "[email protected]"} causes exception
ERROR while parsing: {"agent":"SI-DEC-S Un-caught exception: TypeError: Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
at [object Object].determine_reply_handler (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:260:30)
at [object Object].handle_received_data (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:217:21)
at Socket. (/home/monitis/NodeServer/test/node_modules/memcache/lib/memcache.js:62:12)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:367:14)
I have tried to replace the command "buffer.indexOf('END')" with "buffer.lastIndexOf('END')" mostly occurred in the handle_get function and, seems, it comes to the perfect working state.
Simon
The text was updated successfully, but these errors were encountered: