You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
I used caddy as the reverse proxy for the hawkbit server and enabled gzip compression while forwarding. However, this part of the client emulator (for http response entity content length check) filters the gzipped response, so it has not been able to trigger OTA file transfers.
if (response.getEntity().getContentLength() != size) {
final String message = wrongContentLength(url, size, response);
return new UpdateStatus(ResponseStatus.ERROR, message);
}
When gzip enable, response.getEntity().getContentLength() will be -1, according to org.apache.http.client.entity.GzipCompressingEntity.getContentLength()