drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sohami <...@git.apache.org>
Subject [GitHub] drill pull request #809: Drill-4335: C++ client changes for supporting encry...
Date Fri, 12 May 2017 00:14:20 GMT
Github user sohami commented on a diff in the pull request:

    --- Diff: contrib/native/client/src/clientlib/drillClientImpl.cpp ---
    @@ -854,75 +990,328 @@ void DrillClientImpl::waitForResults(){
    -status_t DrillClientImpl::readMsg(ByteBuf_t _buf,
    -        AllocatedBufferPtr* allocatedBuffer,
    + *  Decode the length of the message from bufWithLen and then read entire message from
the socket.
    + *  Parameters:
    + *      bufWithLen          - in param  - buffer containing the bytes which has length
of the RPC message/encrypted chunk
    + *      bufferWithLenBytes  - out param - buffer pointer which points to memory allocated
in this function and has the
    + *                                        entire one RPC message / encrypted chunk along
with the length of the message
    + *      lengthBytesLength   - out param - bytes of bufWithLen which contains the length
of the entire RPC message or
    --- End diff --
    Changed to "_lengthFieldLength_" as on Java side which is borrowed from LengthFieldBasedFrameDecoder

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message