JavaScript is required to use Bungie.net

Сервисное уведомление
Завтра Destiny 2 будет временно недоступна в связи с плановым техобслуживанием. Следите за новостями @BungieHelp.

Форумы

впервые опубликовано в:BungieNetPlatform
Изменено (xorth): 11/20/2015 4:42:37 PM
1

API & Cloudflare

Bungie.Net, like most sites, including mine, are behind cloudflare. This also puts the api behind cloudflare as well. I've been having some problems since the api debuted, but just recently figured out what is causing it. Basically, some api responses come back truncated right in the middle of the response, which is obviously not valid json. Some days this happens a lot, some days not very much. Here is an explanation of what is happening: CloudFlare uses "Transfer-Encoding: chunked" to proxy the data. Sometimes the specified chunk length does not match the actual content length. When this happens the chunk reader will read data from the next chunk thinking its still content data. Corrupting the request. Cloudflare likely isn't doing much for the api requests, so is there anyway it could be disabled? That is a large request. At the very least, hopefully our research will help others explain the situation.
English

Публикуется на языке:

 

Играйте достойно. Потратьте минутку на ознакомление с нашими правилами, прежде чем отправлять вашу запись. Отмена Изменить Создать боевую группу Опубликовать

Смотреть всю тему
У вас нет прав для просмотра этих материалов.
;
preload icon
preload icon
preload icon