mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
add the data block
This commit is contained in:
parent
b460656e69
commit
aae9157f43
1 changed files with 3 additions and 1 deletions
|
@ -1,12 +1,14 @@
|
|||
client has 'h' flag in "*cap" info string
|
||||
|
||||
format of svc_download message:
|
||||
<size (short)> <percent (byte)> [url (string)] [newname (string)]
|
||||
<size (short)> <percent (byte)> ([url (string)] [newname (string)] | [data])
|
||||
|
||||
size and percent are always present.
|
||||
|
||||
url is present only for http redirects.
|
||||
|
||||
data is present only when size is > 0 (ie, normal downloading)
|
||||
|
||||
newname is present for all http redirects (but may be the empty string) or if
|
||||
the file to download has a different name to what what requested. This is so
|
||||
the client saves the downloaded file with the correct name (in QF, this is
|
||||
|
|
Loading…
Reference in a new issue