So I think -- The server max size for blocksize should be 10M because that is the limit that is allowed by the spec. From my understanding of the spec, the server does not get to choose the blocksize for QRYDTA. It is the client which sends the qryblksz.

I agree with your analysis of the spec.

Are you concerned that this may present any sort of denial-of-service
opportunity for a malicious client? That is, a poorly-written or
outright-evil client could establish multiple connections, all requesting
10 Mb buffers, and starve the server out of memory?

I think this is pretty unlikely, but I thought I'd raise the question and
see what your reaction was. 10 Mb per connection is a non-insignificant
amount of memory, particularly for a server with dozens or hundreds of 
connections.

thanks,

bryan

P.S. I agree with you and Mike that the benchmarking should be separated
out into a separate work item.

Reply via email to