Skip to content

v1.5.2 — the error code survives a gzipping proxy

Choose a tag to compare

@liuyang0508 liuyang0508 released this 07 Nov 21:31
757ac35

1.5.2 — the error code survives a gzipping proxy

Fixed

  • The client now reads a Hub error code even when a proxy gzips the error body, as aihub's nginx does. Before this, every refusal over such a link read as the generic request_rejected: amh-native dream --publish on a device the Hub had not designated crashed with Hub HTTP 409 instead of reporting not_designated, and the sync client could not tell stale_version from anything else. The warm transport already decoded before reading the status; the plain one now does the same.

Upgrade notes

  • No Hub-side change beyond the version number; hub.sh --version 1.5.2 is still the one-step upgrade and needs no data migration. Clients: amh-native update --now.
  • 1.5.1's "the organization dreams in one place" (designated devices, dreaming lease, admin-only wiki upload) is included; see the v1.5.1 notes.