1
0
Fork 0

Add comment

pull/4690/head
Jordi Boggiano 2015-11-10 16:35:29 +00:00
parent 04879e82ae
commit 58a6d4b7d3
1 changed files with 2 additions and 0 deletions

View File

@ -339,6 +339,8 @@ class RemoteFilesystem
// but you do not send an appropriate certificate // but you do not send an appropriate certificate
throw new TransportException("The '" . $this->fileUrl . "' URL could not be accessed: " . $message, $messageCode); throw new TransportException("The '" . $this->fileUrl . "' URL could not be accessed: " . $message, $messageCode);
} }
// intentional fallthrough to the next case as the notificationCode
// isn't always consistent and we should inspect the messageCode for 401s
case STREAM_NOTIFY_AUTH_REQUIRED: case STREAM_NOTIFY_AUTH_REQUIRED:
if (401 === $messageCode) { if (401 === $messageCode) {