Skip to content

Commit

Permalink
VDB-5659: expect 500 while reading URL returned by SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
klymenko committed May 1, 2024
1 parent a3fa01a commit 0e4a0de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/external/prefetch/PrfRetrier.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ rc_t PrfRetrierAgain(PrfRetrier * self, rc_t aRc, uint64_t pos) {
if (self->_403 >= 0)
++self->_403;
}
else if (self->_code == 500
&& rc == SILENT_RC(rcNS, rcFile, rcReading, rcError, rcExists))
{
if (self->_403 >= 0)
++self->_403;
}
else
self->_403 = -1;

Expand Down

0 comments on commit 0e4a0de

Please sign in to comment.