{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1419","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1419/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1419/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1419/events","html_url":"https://github.com/couchbase/sync_gateway/issues/1419","id":125487988,"number":1419,"title":"Use legacy compression for non-CBL 1.2 user agents","user":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/P1:%20high","name":"P1: high","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/release-prep","name":"release-prep","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/12","html_url":"https://github.com/couchbase/sync_gateway/milestones/1.2.0","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/12/labels","id":771891,"number":12,"title":"1.2.0","description":"","creator":{"login":"jessliu","id":4998909,"avatar_url":"https://avatars.githubusercontent.com/u/4998909?v=3","gravatar_id":"","url":"https://api.github.com/users/jessliu","html_url":"https://github.com/jessliu","followers_url":"https://api.github.com/users/jessliu/followers","following_url":"https://api.github.com/users/jessliu/following{/other_user}","gists_url":"https://api.github.com/users/jessliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jessliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessliu/subscriptions","organizations_url":"https://api.github.com/users/jessliu/orgs","repos_url":"https://api.github.com/users/jessliu/repos","events_url":"https://api.github.com/users/jessliu/events{/privacy}","received_events_url":"https://api.github.com/users/jessliu/received_events","type":"User","site_admin":false},"open_issues":104,"closed_issues":164,"state":"open","created_at":"2014-08-29T16:34:15Z","updated_at":"2016-01-13T20:00:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-07T21:27:33Z","updated_at":"2016-01-13T20:07:50Z","closed_at":null,"body":"The compression enhancement for _bulk_get introduced un-intended side effects in Java Core. While [this was fixed in 1.2](https://github.com/couchbase/couchbase-lite-java-core/issues/824), the problem presents for earlier versions. This creates a problem as many apps will have some older versions of CBL connecting to upgraded 1.2 servers for some period of time.\r\n\r\nInstead, the SG response should use the new method only for clients that are aware of the change, and use the previous behavior for the remainder."},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/171417840","html_url":"https://github.com/couchbase/sync_gateway/issues/1419#issuecomment-171417840","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1419","id":171417840,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T20:07:50Z","updated_at":"2016-01-13T20:07:50Z","body":"Check the user agent of the android cbl for 1.1 release, if you don't find the user agent then disable compression.  \r\n\r\nif no user agent string:\r\n   disable compression\r\nif user agent string:\r\n   must be version 1.2 or greater, otherwise disable compression \r\n"}}