summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2015-08-18 19:48:59 +0200
committerSimon Rettberg2015-08-18 19:48:59 +0200
commitdf9ea600ce311bdf907678d0da94eea5b39d890f (patch)
tree5d822056590456bfa666747f9f9e0182cebdb5e3 /src/main/thrift/bwlp.thrift
parentFix getNewSatClient() (diff)
downloadmaster-sync-shared-df9ea600ce311bdf907678d0da94eea5b39d890f.tar.gz
master-sync-shared-df9ea600ce311bdf907678d0da94eea5b39d890f.tar.xz
master-sync-shared-df9ea600ce311bdf907678d0da94eea5b39d890f.zip
First working version with SSL support
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index e392a81..e348d58 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -93,7 +93,8 @@ struct Organization {
struct Satellite {
1: list<string> addressList,
- 2: string displayName
+ 2: string displayName,
+ 3: binary certSha256
}
// Old session information for clients logging in via "test-account"
@@ -308,6 +309,8 @@ struct TransferInformation {
1: string token,
2: i32 plainPort,
3: i32 sslPort,
+ 4: optional list<binary> blockHashes, // Only if transfer is a download (and list is known)
+ 5: optional string machineDescription, // Only if transfer is a download
}
// Used to tell status of an upload. The blockStatus is one byte per 16MB block,
@@ -333,7 +336,7 @@ struct SatelliteConfig {
// ############ EXCEPTION ######################
exception TTransferRejectedException {
- 1: string reason,
+ 1: string message,
}
exception TAuthorizationException {