Search found 22 matches

by amehta
Wed May 15, 2019 8:38 am
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 14
Views: 15889

Re: File upload using socket succeeds but not with esp_http_client

yes I have completed the file upload function. Let me know if you need help.
by amehta
Fri Oct 19, 2018 5:21 am
Forum: General Discussion
Topic: Register URI handler for 50 different paths in httpd server example
Replies: 3
Views: 5794

Re: Register URI handler for 50 different paths in httpd server example

Hi @chegewara, thanks for the link. Can you also help me out on https://esp32.com/viewtopic.php?p=32209#p32209 issue. Thanks again
by amehta
Thu Oct 18, 2018 5:18 pm
Forum: Sample Code
Topic: Can hostname validation be disabled while using certificate verification in esp_http_client
Replies: 0
Views: 3154

Can hostname validation be disabled while using certificate verification in esp_http_client

Hi, I have my CA cert with which my server certs are signed and I am trying to get verify just this cert from my esp32 http clilent.

I am using esp_http_client. I just want to disable hostname validation for the cert. Can this be possible?
by amehta
Thu Oct 18, 2018 11:11 am
Forum: General Discussion
Topic: Register URI handler for 50 different paths in httpd server example
Replies: 3
Views: 5794

Register URI handler for 50 different paths in httpd server example

Hi I have more than 50 different URIs on my http server(written using netconn API). I want to port that to HTTP Server given in examples. I would basically want to get URI, params, body and method extracted and sent to my common function(already written) and then respond from there. I want to shift ...
by amehta
Tue Oct 16, 2018 4:57 pm
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 14
Views: 15889

Re: File upload using socket succeeds but not with esp_http_client

Its a log file, so new logs are appended every time and they are being sent constantly to a local server. So thats the reason the file size is changing.
by amehta
Tue Oct 16, 2018 3:08 pm
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 14
Views: 15889

Re: File upload using socket succeeds but not with esp_http_client

@WiFive any more suggestions on this?
by amehta
Tue Oct 16, 2018 9:20 am
Forum: General Discussion
Topic: self signed certificate creation at runtime in esp32
Replies: 2
Views: 4046

self signed certificate creation at runtime in esp32

Can self signed certificate be created at runtime inside esp32? If yes how?
by amehta
Sun Oct 14, 2018 4:14 pm
Forum: ESP-IDF
Topic: File upload from esp32 using esp_http_client possible?
Replies: 2
Views: 4523

Re: File upload from esp32 using esp_http_client possible?

@fly135

I tried to use whats been described in this post https://esp32.com/viewtopic.php?f=2&t=7 ... 212#p32212 but its failing. Waiting for the resolution on this.
by amehta
Sun Oct 14, 2018 5:40 am
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 14
Views: 15889

Re: File upload using socket succeeds but not with esp_http_client

It is still failing with the same error. But I agree it should have been "ret" (size returned from the fread function) instead of MAX_HTTP_RECV_BUFFER.
WiFive wrote:

Code: Select all

esp_http_client_write(client, buffer, ret);

Anything else that looks wrong??