diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2020-08-06 15:36:10 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@tailscale.com> | 2020-08-06 15:42:23 -0700 |
| commit | b62b07bc2df93b241ee383901a04c720a71d7fd4 (patch) | |
| tree | 4db7ec50732520e537fb8125af80b22908ae50b6 | |
| parent | cb01058a53f4bec9642b04e5c549eaf5783d14de (diff) | |
| download | tailscale-b62b07bc2df93b241ee383901a04c720a71d7fd4.tar.xz tailscale-b62b07bc2df93b241ee383901a04c720a71d7fd4.zip | |
ipn: jack up the MaxMessageSize from 1MB to 10MB
hello.ipn.dev has a 2.5MB network map
| -rw-r--r-- | ipn/message.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipn/message.go b/ipn/message.go index 6323bb8c3..bee742c63 100644 --- a/ipn/message.go +++ b/ipn/message.go @@ -255,7 +255,7 @@ func (bc *BackendClient) FakeExpireAfter(x time.Duration) { } // MaxMessageSize is the maximum message size, in bytes. -const MaxMessageSize = 1 << 20 +const MaxMessageSize = 10 << 20 // TODO(apenwarr): incremental json decode? // That would let us avoid storing the whole byte array uselessly in RAM. |
