I am not sure now what the issue is.
As the protocol spec says, the protocol version 4.0.0 should look like this:
0x00 00 04 00 |
Protocol version 4.0.0 (2018) |
That is, hex 400.
The logging for the tpc client request:
where version is printed out in hex. The server is still returning no security level info.
There must be something else wrong?
----------
To verify: the java-ese dCache constant is
int PROTOCOL_VERSION = 0x00000400; <<<<<<<<<<<
and the Request is constructed with it:
OutboundProtocolRequest request = new OutboundProtocolRequest(client.getStreamId(),
PROTOCOL_VERSION);
then serialized:
ByteBuf buffer = ctx.alloc().buffer(24);
try {
buffer.writeShort(streamId);
buffer.writeShort(kXR_protocol);
buffer.writeInt(version); <<<<<<<<<<<<<<<<<<<
buffer.writeBytes(RESERVED);
buffer.writeByte(kXR_secreqs);
buffer.writeInt(0);
} catch (Error | RuntimeException t) {
promise.setFailure(t);
buffer.release();
return;
}
----------
Hi again,
If the ProtocolResponse is not the place to look for this information, where should the client go to find out about the security level?
Al
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1