Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp_http_client event HTTP_EVENT_HEADER_SENT never received by the http event handler (IDFGH-655) #3095

Closed
pantaluna opened this issue Feb 24, 2019 · 1 comment

Comments

@pantaluna
Copy link

Environment

  • Development Kit: [Adafruit HUZZAH32]
  • Core (if using chip or module): [ESP-WROOM32]
  • IDF version (commit id): ESP-IDF v3.1.3 cf5dbad
  • Development Env: [Eclipse]
  • Operating System: [Windows]
  • Power Supply: [USB]

Problem Description

  1. The event HTTP_EVENT_HEADER_SENT is never sent to the http event handler.
  2. The documentation of the event HTTP_EVENT_HEADER_SENT states "After sending all the headers to the server". So it would be better to rename the event to HTTP_EVENT_HEADERS_SENT with "s", or send the event after each header is sent.

Expected Behavior

The event is sent to the event handler.

Actual Behavior

No event is sent.

Workaround

Steps to reproduce

Code to reproduce this issue

The official ESP-IDF example project ./protocols/esp_http_client/

Debug Logs

@projectgus projectgus changed the title esp_http_client event HTTP_EVENT_HEADER_SENT never received by the http event handler esp_http_client event HTTP_EVENT_HEADER_SENT never received by the http event handler (IDFGH-655) Mar 12, 2019
@mahavirj
Copy link
Member

@pantaluna First part is addressed with 9b0e6e3.

@igrr igrr closed this as completed in 4e6d39f May 5, 2019
trombik pushed a commit to trombik/esp-idf that referenced this issue Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants