When trying to copy an empty file using xrootd-http the operation fails. On the client side: ``` [root@143e9b594cb7 tpc_transfers]# gfal-copy -v zero_bytes https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes Copying 0 bytes file:///tpc_transfers/zero_bytes => https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes event: [1608242437461] BOTH GFAL2:CORE:COPY LIST:ENTER event: [1608242437462] BOTH GFAL2:CORE:COPY LIST:ITEM file:///tpc_transfers/zero_bytes => https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes event: [1608242437462] BOTH GFAL2:CORE:COPY LIST:EXIT event: [1608242437463] BOTH http_plugin PREPARE:ENTER file:///tpc_transfers/zero_bytes => https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes event: [1608242437725] BOTH http_plugin PREPARE:EXIT file:///tpc_transfers/zero_bytes => https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes event: [1608242437725] BOTH http_plugin TRANSFER:ENTER file:///tpc_transfers/zero_bytes => https://gftp-2.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes event: [1608242437726] BOTH http_plugin TRANSFER:TYPE streamed ``` On the server side (after the usual many HEAD requests from gfal) : ``` INFO in AuthzFun: Using cached entity with username ddavila 201217 14:00:37 2483 sysXrdHttp: getDataOneShot BuffAvailable: 1048576 maxread: 1048576 201217 14:00:37 2483 sysXrdHttp: getDataOneShot sslavail: 1048576 201217 14:00:37 2483 sysXrdHttp: read 173 of 1048576 bytes 201217 14:00:37 2483 sysXrdHttp: rc:52 got hdr line: PUT /store/user/ddavila/newdir/zero-bytes HTTP/1.1 201217 14:00:37 2483 sysXrdHttp: Parsing first line: PUT /store/user/ddavila/newdir/zero-bytes HTTP/1.1 201217 14:00:37 2483 sysXrdHttp: rc:55 got hdr line: User-Agent: gfal2-util/1.5.3 gfal2/2.18.1 neon/0.0.29 201217 14:00:37 2483 sysXrdHttp: rc:14 got hdr line: TE: trailers 201217 14:00:37 2483 sysXrdHttp: rc:31 got hdr line: Host: gftp-2.t2.ucsd.edu:1094 201217 14:00:37 2483 sysXrdHttp: rc:19 got hdr line: Content-Length: 0 201217 14:00:37 2483 sysXrdHttp: rc:2 got hdr line: 201217 14:00:37 2483 sysXrdHttp: rc:2 detected header end. 201217 14:00:37 2483 XrootdBridge: ddavila.8:[log in to unmask] login as ddavila 201217 14:00:37 2483 ddavila.8:[log in to unmask] sysXrdHttp: Process. lp:0x7fcb30003828 reqstate: 0 201217 14:00:37 2483 ddavila.8:[log in to unmask] sysXrdHttp: Process is exiting rc:1 File we will access: /cms/store/user/ddavila/newdir/zero-bytes 201217 14:00:38 2483 sysXrdHttp: XrdHttpReq::Data! final=0 201217 14:00:38 2483 ddavila.8:[log in to unmask] sysXrdHttp: PostProcessHTTPReq req: 4 reqstate: 0 201217 14:00:38 2483 ddavila.8:[log in to unmask] sysXrdHttp: fhandle:0:0:0:0 ``` The gfal2 versions used are: ``` gfal2-util-1.5.3-1.el7.noarch gfal2-2.18.1-1.1.osg35.el7.x86_64 gfal2-plugin-http-2.18.1-1.1.osg35.el7.x86_64 ``` The XRootD server version is 4.12.6-0.rc1 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1365 ######################################################################## 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