[ 
https://issues.apache.org/jira/browse/GEODE-8532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240438#comment-17240438
 ] 

ASF GitHub Bot commented on GEODE-8532:
---------------------------------------

pdxcodemonkey opened a new pull request #702:
URL: https://github.com/apache/geode-native/pull/702


   - 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
           }
         }
       ]
     }
   }
   ```
   


----------------------------------------------------------------
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:
us...@infra.apache.org


> Parse chunked replies in gnmsg tool
> -----------------------------------
>
>                 Key: GEODE-8532
>                 URL: https://issues.apache.org/jira/browse/GEODE-8532
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Blake Bender
>            Assignee: Blake Bender
>            Priority: Major
>
> As a native client developer, I would like to be able to see all reply 
> messages from server to client when debugging with gnmsg.  I can, in fact, 
> see replies/responses when they come back in a "complete" message, but at 
> present when a response is "chunked" gnmsg ignores it, so things like, for 
> example, `getAll()` responses don't show up in the message dump.  This is 
> probably a complex task, and may require logging more data for chunk 
> responses in the C++ native client code, but it's important.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to