Make the client respect the force_foolscap flag, and default to Foolscap-only
for now.
This commit is contained in:
parent
6c0c9470cf
commit
9663db522c
|
@ -299,7 +299,9 @@ class StorageFarmBroker(service.MultiService):
|
||||||
"pub-{}".format(str(server_id, "ascii")), # server_id is v0-<key> not pub-v0-key .. for reasons?
|
"pub-{}".format(str(server_id, "ascii")), # server_id is v0-<key> not pub-v0-key .. for reasons?
|
||||||
)
|
)
|
||||||
|
|
||||||
if len(server["ann"].get(ANONYMOUS_STORAGE_NURLS, [])) > 0:
|
if not self.node_config.get_config(
|
||||||
|
"storage", "force_foolscap", default=True, boolean=True,
|
||||||
|
) and len(server["ann"].get(ANONYMOUS_STORAGE_NURLS, [])) > 0:
|
||||||
s = HTTPNativeStorageServer(
|
s = HTTPNativeStorageServer(
|
||||||
server_id,
|
server_id,
|
||||||
server["ann"],
|
server["ann"],
|
||||||
|
|
Loading…
Reference in New Issue