You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/11/30 14:20:00 UTC

[GitHub] [geode-native] albertogpz commented on pull request #702: GEODE-8532: parse chunked responses in gnmsg tool

albertogpz commented on pull request #702:
URL: https://github.com/apache/geode-native/pull/702#issuecomment-735813819


   >     * This is still not a complete implementation, but it's close enough to go in, I think.  It should handle all except cases where an app has chunked responses coming in on multiple simultaneous threads, which is (I think) kind of an obscure scenario at the moment.
   > 
   >     * The tool doesn't yet attempt to parse any of the content of a chunked response, but rather just prints a summary of the chunk info, e.g.:
   > 
   > 
   > ```
   > {
   >   "message": {
   >     "Type": "RESPONSE",
   >     "Connection": "0x7fe7e9704320",
   >     "Direction": "<---",
   >     "Parts": 1,
   >     "TransactionId": -1,
   >     "ChunkInfo": [
   >       {
   >         "Chunk0": {
   >           "ChunkLength": 2410,
   >           "Flags": 0
   >         }
   >       },
   >       {
   >         "Chunk1": {
   >           "ChunkLength": 682,
   >           "Flags": 1
   >         }
   >       }
   >     ]
   >   }
   > }
   > ```
   > 
   > @mreddington @albertogpz
   
   Thanks, Blake. This is a cool tool. It helped me to sort out some problems in the feature/asio branch.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org