Github user sohami commented on a diff in the pull request:
https://github.com/apache/drill/pull/809#discussion_r115877434
--- 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 --
Nice catch!. I am changing it to be 65536 now based on recent findings.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---