Folks,
For reasons not yet clear, I got an error reading a file and noticed
that at line 354 of src/XrdClient/XrdClient.cc there is an error
condition detected (error message is "Internal cache error") but then
you return 0, indicating EOF. Should you not rather return -1
indicating an error? Why indicate EOF in this case?
For the record, the error message I got was
050726 12:30:36 001 Xrd: ReadBuffer: Internal cache error. Original
req: [log in to unmask] Final req: 262144@431691220
The discrepancy between a read of 512 bytes and 262144 bytes troubles
me, but I may yet figure out how that came to be. The 468 byte
difference in the offsets is also confusing me. Sigh.
--
Gregory J. Sharp email: [log in to unmask]
Wilson Synchrotron Laboratory url: http://www.lepp.cornell.edu/
~gregor
Cornell University ph: +1 607 255 4882
Ithaca, NY 14853 fax: +1 607 255 8062
|