Skip to content

libhttp errors #65

@shashankk-agarwal

Description

@shashankk-agarwal

I have cloned this repository(https://github.com/lammertb/libhttp.git) and was playing with the files in examples directory. I have encountered some issues while using this repository:

  1. There are no help, install and build functionalities in make as given in Building.md.
  2. I saw the make files in example directory and they require libcivetweb.a file which was missing from the root directory.
  3. Also the functions are named libhttp.* and you have included <civetweb.h> in which the functions are named mg_*.
    These are the few errors i found while using libhttp. Then someone suggested me to use the released version libhttp-1.8. So i downloaded it. In that repository, all above issues are sorted, but there occur some different type of error/warnings when i run make in upload subdirectory of examples directory.
    The errors were like :
    implicit declaration of function ‘mg_upload’ ;
    error: ‘struct mg_callbacks’ has no member named ‘upload’

Also upload.c file is to test the server side uploading. Isn't there any thing(file) to test client side uploading like how a web client will upload a file on server using socket communication?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions