flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...
Date Wed, 19 Oct 2016 10:58:43 GMT
Github user mxm commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2425#discussion_r84032194
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java
---
    @@ -57,24 +61,37 @@
     	// constructor in order to work with the generic deserializer.
     	// ------------------------------------------------------------------------
     
    -	static final int HEADER_LENGTH = 4 + 4 + 1; // frame length (4), magic number (4), msg
ID (1)
    +	static final int HEADER_LENGTH = 4 + 4 + 4 + 1; // frame length (4), magic number (4),
Cookie (4), msg ID (1)
    --- End diff --
    
    4 bytes for the cookie or cookie **length**? How is this in line with the size restrictions
assumed in other places? 


---
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.
---

Mime
View raw message