Github user bitblender commented on a diff in the pull request:

    https://github.com/apache/drill/pull/809#discussion_r114629588
  
    --- Diff: contrib/native/client/src/clientlib/utils.cpp ---
    @@ -111,4 +111,52 @@ AllocatedBuffer::~AllocatedBuffer(){
         m_bufSize = 0;
     }
     
    +EncryptionContext::EncryptionContext(const bool& encryptionReqd, const 
int& wrapChunkSize, const int& rawSendSize) {
    +    this->m_bEncryptionReqd = encryptionReqd;
    +    this->m_maxWrapChunkSize = wrapChunkSize;
    +    this->m_rawWrapSendSize = rawSendSize;
    +}
    +
    +EncryptionContext::EncryptionContext() {
    +    this->m_bEncryptionReqd = false;
    +    // SASL Framework only allows 3 octet length field during negotiation 
so maximum wrap message
    +    // length can be 16MB i.e. 0XFFFFFF
    --- End diff --
    
    // so maximum wrap message length can be 16MB i.e. 0XFFFFFF
    Max maxWrapChunkSize has to be strictly less than 16MB. 0XFFFFFF = 16MB - 1


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to