Print

Print


if the reported value goes above 2093056, clients crash due to readv having iovcnt > 1024.
The original value of 1022 * page size of 4096 generated dlen of 4186112. These were then resolved client side in XrdCl/XrdClAsyncPageReader.hh to ::readv calls of iovcnt 2044, triggering the einval error. 

fix for #1740 
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1749

-- Commit Summary --

  * reduce maxCSSZ to avoid readv EINVAL error

-- File Changes --

    M src/XrdXrootd/XrdXrootdXeqPgrw.cc (2)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1749.patch
https://github.com/xrootd/xrootd/pull/1749.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1749
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1