Skip to content

HTTPClient.h: obviously _size as an int is not big enough (-1!) #11656

@mankatob

Description

@mankatob

Board

ESP32

Device Description

ESP32

Hardware Configuration

plain jane

Version

latest stable Release (if not listed below)

IDE Name

yes

Operating System

no

Flash frequency

zero

PSRAM enabled

no

Upload speed

3

Description

_size in HTTPClient.h is an int
pages received are often larger than 32,000

Sketch

get jpg
Content-Type: image/jpeg

Access-Control-Allow-Origin: *
Content-Disposition: inline; filename=capture.jpg
Content-Encoding: 
Content-Length: 223297  (larger than int!-also see code for _size==-1!!!!
Content-Type: image/jpeg

Debug Message

hello whirled

Other Steps to Reproduce

do it

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions