LISTSERV mailing list manager LISTSERV 16.5

Help for XROOTD-DEV Archives


XROOTD-DEV Archives

XROOTD-DEV Archives


XROOTD-DEV@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

XROOTD-DEV Home

XROOTD-DEV Home

XROOTD-DEV  March 2023

XROOTD-DEV March 2023

Subject:

[xrootd/xrootd] 85e775: Fix direct read for PFC

From:

Guilherme Amadio <[log in to unmask]>

Reply-To:

xrootd developers' list for Scalla/xrootd repository and related issues <[log in to unmask]>

Date:

Fri, 24 Mar 2023 01:22:47 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (417 lines)

  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 85e775364dccf7d6c83601ec37edd548b346c188
      https://github.com/xrootd/xrootd/commit/85e775364dccf7d6c83601ec37edd548b346c188
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdPfc/XrdPfcFile.cc

  Log Message:
  -----------
  Fix direct read for PFC

When direct reads ("bypass mode") are in use, the code was failing
to increment the number of bytes serviced in the read request.  When
there were no errors, that means the overall read operation returned
0 instead of the bytes read.

This resulted in 100% failure rate for HTTP requests when direct
read mode was activated.


  Commit: d61617639a6cccb260f774ff87a8b55cb2e2c5a2
      https://github.com/xrootd/xrootd/commit/d61617639a6cccb260f774ff87a8b55cb2e2c5a2
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Remove branch filters on push and pull_request triggers


  Commit: cdd4de30aeaa0865741d3e59e64a9c4366b0a56b
      https://github.com/xrootd/xrootd/commit/cdd4de30aeaa0865741d3e59e64a9c4366b0a56b
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpReq.cc

  Log Message:
  -----------
  Map authentication failure to HTTP 401

The authentication failure error message was previously mapped to
HTTP 500 (internal server error).  401 Unauthorized (despite its name)
is what HTTP servers typically utilize for authentication problems.


  Commit: 4d679e23c4ac97a797bd13134d3b26775d7daec6
      https://github.com/xrootd/xrootd/commit/4d679e23c4ac97a797bd13134d3b26775d7daec6
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpReq.cc

  Log Message:
  -----------
  Bugfix: Correct response for single byte range

If an open-ended byte range is requested by the client:
```
Range: bytes=1234-
```

then the HTTP server was setting the end of the range to `-1`.  In
this case, once the file is opened, the end of the range should be
set to `filesize - 1` (note ranges are inclusive of the end byte,
meaning it looks like it's off-by-one -- that's just how the HTTP
spec works).

Without this, a single open-ended byte range request would fail.


  Commit: ec963b171f66b5eabf967e85e538b532f67dc164
      https://github.com/xrootd/xrootd/commit/ec963b171f66b5eabf967e85e538b532f67dc164
  Author: Chris Green <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M cmake/XRootDDefaults.cmake
    M src/CMakeLists.txt
    M src/XrdSciTokens.cmake

  Log Message:
  -----------
  Enable scitokens-cpp client plugin under `XRDCL_ONLY`


  Commit: 37c98b012773bd4a8a302dafb1c99464f95c5df6
      https://github.com/xrootd/xrootd/commit/37c98b012773bd4a8a302dafb1c99464f95c5df6
  Author: Brian Bockelman <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdSys/XrdSysE2T.cc

  Log Message:
  -----------
  Override error message for EAUTH

On Linux platforms, the "authentication denied" error is mapped to
the EBADE errno (as EAUTH doesn't exist).  That results in authentication
errors in XrdPss to generate the "invalid exchange" error message (this
is because XrdPss takes the errno from XrdPosix and XrdPosix returns
EBADE/EAUTH).

Rather than start tinkering with alternate errno's for this case, simply
map EBADE's error message to "authentication denied".


  Commit: 354d0a9e1fa5fa0a68c06f4b314143433a380da4
      https://github.com/xrootd/xrootd/commit/354d0a9e1fa5fa0a68c06f4b314143433a380da4
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdCms/XrdCmsFinder.cc
    M src/XrdSsi/XrdSsiSfsConfig.cc

  Log Message:
  -----------
  [SSI] Avoid file system+SSI feature interference that caused problems.


  Commit: d267b858a9d092fc484e0ca8534b8df120b7602e
      https://github.com/xrootd/xrootd/commit/d267b858a9d092fc484e0ca8534b8df120b7602e
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M cmake/XRootDDefaults.cmake
    M packaging/rhel/xrootd.spec.in
    M src/CMakeLists.txt
    M src/XrdSciTokens.cmake

  Log Message:
  -----------
  Adjust build rules to not depend on scitokenscpp to build libXrdSecztn

This partially reverts commit 984efbc72bdad86b43923569f4dfa707b7a287a2.
Actually, libXrdSecztn doesn't depend on scitokens-cpp, so we can always
build it even when -DENABLE_SCITOKENS=FALSE. Therefore, also remove the
conditional in the spec file to always include the plugin in xrootd-libs.


  Commit: e140a9bbc4ae980f88a5d451f1668e960be4add8
      https://github.com/xrootd/xrootd/commit/e140a9bbc4ae980f88a5d451f1668e960be4add8
  Author: Andreas Joachim Peters <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdApps/XrdClRecordPlugin/XrdClReplay.cc

  Log Message:
  -----------
  [XrdApps] xrdreplay: fix SEGVs when verifying or printing replays
introduced by introduction of buffer-pool for buffer allocation


  Commit: 2860b430025b3bf17b59041b8f0e96e7ead23f45
      https://github.com/xrootd/xrootd/commit/2860b430025b3bf17b59041b8f0e96e7ead23f45
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdApps/XrdClRecordPlugin/XrdClReplay.cc

  Log Message:
  -----------
  [XrdApps] xrdreplay: clear allocated buffers also on dry runs


  Commit: e1153257ff97695be9cb6dae1f8df0ffe612e3a4
      https://github.com/xrootd/xrootd/commit/e1153257ff97695be9cb6dae1f8df0ffe612e3a4
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdApps/XrdClRecordPlugin/XrdClReplay.cc

  Log Message:
  -----------
  [XrdApps] xrdreplay: actually lock the mutex when reclaiming memory


  Commit: 8e4965c39cbe5c4798af34e0f272e471b770e447
      https://github.com/xrootd/xrootd/commit/8e4965c39cbe5c4798af34e0f272e471b770e447
  Author: David Smith <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/Xrd/XrdLinkCtl.cc
    M src/Xrd/XrdPollE.hh
    M src/Xrd/XrdPollE.icc

  Log Message:
  -----------
  [Xrd] Wait for the current PollE poll to finish after removing a Link


  Commit: 87340a4e469f98d57d89a9d3e810623381e037e6
      https://github.com/xrootd/xrootd/commit/87340a4e469f98d57d89a9d3e810623381e037e6
  Author: David Smith <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdCl/XrdClStream.cc
    M src/XrdCl/XrdClStream.hh

  Log Message:
  -----------
  [XrdCl] Do not reuse sessionId when a new Stream object is made


  Commit: 18702dde7f06d9b4247e79e9457c7007d081a409
      https://github.com/xrootd/xrootd/commit/18702dde7f06d9b4247e79e9457c7007d081a409
  Author: David Smith <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M tests/XrdClTests/SocketTest.cc
    M tests/common/Utils.cc
    M tests/common/Utils.hh

  Log Message:
  -----------
  [XrdClTests] Stop some intermittent failures of XrdClTests/SocketTest:
By ensuring repeated short-reads() correctly decrease the number of
remaining bytes wanted by the number already read


  Commit: 993e6545b081ba4be2683e12ed7fa5b7a76fcc5c
      https://github.com/xrootd/xrootd/commit/993e6545b081ba4be2683e12ed7fa5b7a76fcc5c
  Author: David Smith <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdTls/XrdTlsSocket.cc

  Log Message:
  -----------
  [XrdTls] Reset socket error condition flag during Init


  Commit: fecaf0b8aabe102b2bf306a6e1fa8cbefa854598
      https://github.com/xrootd/xrootd/commit/fecaf0b8aabe102b2bf306a6e1fa8cbefa854598
  Author: Radu Carpa <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/Xrd/XrdConfig.cc

  Log Message:
  -----------
  limit max number of sockets in poller. Fix #1962

The number of FD in the poller is automatically configured
from the value of `ulimit -n`. On newer linux installations,
this limit is much higher by default. This can result in
unbound memory consumption.

There is already a mechanism in place to handle the case
when `ulimit -n == unlimited`. Extend it to support any
unreasonable big limit value.


  Commit: ab1f8a5e22fbf6b42d5154bfc86e30b1247c36b8
      https://github.com/xrootd/xrootd/commit/ab1f8a5e22fbf6b42d5154bfc86e30b1247c36b8
  Author: David Smith <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdCrypto/XrdCryptoAux.cc
    M src/XrdCrypto/XrdCryptoX509.cc
    M src/XrdCrypto/XrdCryptosslAux.cc
    M src/XrdCrypto/XrdCryptosslgsiAux.cc

  Log Message:
  -----------
  [XrdCrypto] Fix utility function XrdCryptosslASN1toUTC to return in UTC


  Commit: 707f1a13741a49eba11cedb5edda9e8ea8406f04
      https://github.com/xrootd/xrootd/commit/707f1a13741a49eba11cedb5edda9e8ea8406f04
  Author: Cedric Caffy <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpProtocol.cc

  Log Message:
  -----------
  [XrdHttp] Proper handling of SSL_Shutdown() return code


  Commit: a40e187357cf88780cac1e858fb4aef652eb69a3
      https://github.com/xrootd/xrootd/commit/a40e187357cf88780cac1e858fb4aef652eb69a3
  Author: Cedric Caffy <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpProtocol.cc

  Log Message:
  -----------
  [XrdHttp] XrdHttpProtocol - Calls to ERR_print_errors() is done only when an error occurred


  Commit: 394481498df9893c3cc0fa5d31a8f0b0a987d30e
      https://github.com/xrootd/xrootd/commit/394481498df9893c3cc0fa5d31a8f0b0a987d30e
  Author: Elvin Sindrilaru <[log in to unmask]>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpProtocol.cc

  Log Message:
  -----------
  [XrdHttp] Avoid sending empty header in the response as this conflicts with the reported content-length


  Commit: 0a5419d3d0f5ff636a2af203e18d4f387f145e46
      https://github.com/xrootd/xrootd/commit/0a5419d3d0f5ff636a2af203e18d4f387f145e46
  Author: Gerardo GANIS <[log in to unmask]>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M src/XrdCrypto/XrdCryptosslAux.cc

  Log Message:
  -----------
  Fix for the time parsing related issue (#1969)


Allow for GeneralizedTime (> year 2049) in certificates.
Fix also a bug in renormalizing the Year from UTCTime parsing.

Fixes #1969.


  Commit: 056c3ba8776a54934b1f438bce5af31a4b894c5e
      https://github.com/xrootd/xrootd/commit/056c3ba8776a54934b1f438bce5af31a4b894c5e
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M src/XrdHttp/XrdHttpReq.cc

  Log Message:
  -----------
  [XrdHttp] Clear digest header between requests


  Commit: 672e0cb24af388259dece2987dc40ffe7b0026e0
      https://github.com/xrootd/xrootd/commit/672e0cb24af388259dece2987dc40ffe7b0026e0
  Author: Cedric Caffy <[log in to unmask]>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M src/XrdHttp.cmake
    A src/XrdHttp/XrdHttpChecksum.cc
    A src/XrdHttp/XrdHttpChecksum.hh
    A src/XrdHttp/XrdHttpChecksumHandler.cc
    A src/XrdHttp/XrdHttpChecksumHandler.hh
    M src/XrdHttp/XrdHttpProtocol.cc
    M src/XrdHttp/XrdHttpProtocol.hh
    M src/XrdHttp/XrdHttpReq.cc
    M src/XrdHttp/XrdHttpReq.hh
    M src/XrdOuc/XrdOucUtils.cc
    M src/XrdOuc/XrdOucUtils.hh

  Log Message:
  -----------
  [XrdHttp] Q-values presence is considered BUT discarded when pattern matching the digest algorithm name to run


  Commit: 7a490e1c2011c9bb4f656deb6cd434023ee74fc5
      https://github.com/xrootd/xrootd/commit/7a490e1c2011c9bb4f656deb6cd434023ee74fc5
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M docs/ReleaseNotes.txt

  Log Message:
  -----------
  Update release notes for v5.5.4


  Commit: 0da8c1070432b6af6ea970ee3d106d17fa0e6cdf
      https://github.com/xrootd/xrootd/commit/0da8c1070432b6af6ea970ee3d106d17fa0e6cdf
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M docs/PreReleaseNotes.txt
    M docs/ReleaseNotes.txt

  Log Message:
  -----------
  Merge v5.5.4 into master


Compare: https://github.com/xrootd/xrootd/compare/53a4dd3cd2f3...0da8c1070432

########################################################################
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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use