JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Запрос на вступление
  • Основные цели

    Updates, discussions, and documentation of the BungieNetPlatform API.

  • Участие

    3262 Участники
    Общее количество пользователей, вступивших в эту группу
    11 Стаж группы
    Срок активности этой группы (в годах)
  • Администраторы

  • Отмечено

впервые опубликовано в: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.

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

 

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

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