The OpenD Programming Language

cef_download_interrupt_reason_t

Download interrupt reasons. Should be kept in sync with Chromium's download::DownloadInterruptReason type.

Values

ValueMeaning
CEF_DOWNLOAD_INTERRUPT_REASON_NONE0
CEF_DOWNLOAD_INTERRUPT_REASON_FILE_FAILED1

Generic file operation failure.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_ACCESS_DENIED2

The file cannot be accessed due to security restrictions.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NO_SPACE3

There is not enough room on the drive.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NAME_TOO_LONG5

The directory or file name is too long.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_LARGE6

The file is too large for the file system to handle.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_VIRUS_INFECTED7

The file contains a virus.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TRANSIENT_ERROR10

The file was in use. Too many files are opened at once. We have run out of memory.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_BLOCKED11

The file was blocked due to local policy.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SECURITY_CHECK_FAILED12

An attempt to check the safety of the download failed due to unexpected reasons. See http://crbug.com/153212.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_SHORT13

An attempt was made to seek past the end of a file in opening a file (as part of resuming a previously interrupted download).

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_HASH_MISMATCH14

The partial file didn't match the expected hash.

CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SAME_AS_SOURCE15

The source and the target of the download were the same.

CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED20

Generic network failure.

CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT21

The network operation timed out.

CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_DISCONNECTED22

The network connection has been lost.

CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_SERVER_DOWN23

The server has gone down.

CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_INVALID_REQUEST24

The network request was invalid. This may be due to the original URL or a redirected URL: - Having an unsupported scheme. - Being an invalid URL. - Being disallowed by policy.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED30

The server indicates that the operation has failed (generic).

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE31

The server does not support range requests. Internal use only: must restart from the beginning.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT33

The server does not have the requested data.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED34

Server didn't authorize access to resource.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CERT_PROBLEM35

Server certificate problem.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FORBIDDEN36

Server access forbidden.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNREACHABLE37

Unexpected server response. This might indicate that the responding server may not be the intended server.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CONTENT_LENGTH_MISMATCH38

The server sent fewer bytes than the content-length header. It may indicate that the connection was closed prematurely, or the Content-Length header was invalid. The download is only interrupted if strong validators are present. Otherwise, it is treated as finished.

CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CROSS_ORIGIN_REDIRECT39

An unexpected cross-origin redirect happened.

CEF_DOWNLOAD_INTERRUPT_REASON_USER_CANCELED40

The user canceled the download.

CEF_DOWNLOAD_INTERRUPT_REASON_USER_SHUTDOWN41

The user shut down the browser. Internal use only: resume pending downloads if possible.

CEF_DOWNLOAD_INTERRUPT_REASON_CRASH50

The browser crashed. Internal use only: resume pending downloads if possible.

Meta