Giter Site home page Giter Site logo

esp32-http-server's People

Contributors

igrr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-http-server's Issues

netbuf memory leak

http_handle_connection():
the call netbuf_delete(inbuf) must be moved inside the while loop:

while (ctx->state != HTTP_REQUEST_DONE) {
    err = netconn_recv(conn, &inbuf);
    if (err != ERR_OK) {
        break;
    }

    err = netbuf_data(inbuf, (void**) &buf, &buflen);
    if (err != ERR_OK) {
        break;
    }

    size_t parsed_bytes = http_parser_execute(&ctx->parser, &parser_settings, buf, buflen);
    netbuf_delete(inbuf);
    if (parsed_bytes < buflen) {
        break;
    }
}

POST another host

I'd like to POST WebCam image (M5 Camera) to another host.
It seems to possible to use http_response_begin_multipart() and http_response_end_multipart().

I want to know how to set distination host address....

Сancel the rule http_register_handler()

I'm using a handler rule for a specific URI
ESP_ERROR_CHECK(http_register_handler(server, "/main.js", HTTP_GET, HTTP_HANDLE_RESPONSE, &cb_GET_file, "/spiflash/main.js"));
During the execution of my program there is a need to cancel the rule made above. How could I possibly do that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.