Skip to content
Snippets Groups Projects
  1. Jul 29, 2013
    • bick's avatar
      Add casts to fix strict compiler errors [-fpermissive] · 8f79a056
      bick authored
      When using g++ and enforcing strict compiler errors, this commit fixes the following:
      
      mongoose.c: In function ‘char* mg_fgets(char*, size_t, file*, char**)’:
      mongoose.c:2405:60: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
      
      mongoose.c: In function ‘int set_ports_option(mg_context*)’:
      mongoose.c:4586:64: error: invalid conversion from ‘void*’ to ‘socket*’ [-fpermissive]
      
      mongoose.c: In function ‘void* worker_thread(void*)’:
      mongoose.c:5104:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
      
      mongoose.c: In function ‘void* master_thread(void*)’:
      mongoose.c:5220:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
      mongoose.c:5235:58: error: invalid conversion from ‘void*’ to ‘pollfd*’ [-fpermissive]
      8f79a056
  2. Jul 28, 2013
  3. Jul 26, 2013
  4. Jul 25, 2013
  5. Jul 24, 2013
  6. Jul 23, 2013
  7. Jul 22, 2013
  8. Jul 20, 2013
  9. Jul 19, 2013
  10. Jul 18, 2013
  11. Jul 17, 2013
  12. Jul 16, 2013
  13. Jul 15, 2013
  14. Jul 14, 2013
  15. Jul 12, 2013
  16. Jul 11, 2013
  17. Jul 10, 2013
  18. Jul 01, 2013
  19. Jun 28, 2013
  20. Jun 27, 2013
  21. Jun 12, 2013
  22. May 30, 2013
  23. May 19, 2013
    • Sergey Lyubka's avatar
      Exported mg_url_encode() · 33b920ed
      Sergey Lyubka authored
      33b920ed
    • jwang's avatar
      Securely close SSL conection · 063b26fe
      jwang authored
      For SSL in close_connection, current implementation use close_socket_gracefully to close socket firstly, then SSL_free. In my
      testing, this approach may cause some pending write data missing. I'd suggest use standard SSL_shutdown in SSL conection. It
      need call twice according to openSSL manual - one call sends the close_notify alert and one call receives the response from
      the peer
      063b26fe
    • Sergey Lyubka's avatar
      Added socket functions to lua environment · add079a9
      Sergey Lyubka authored
      add079a9
  24. May 18, 2013
  25. May 16, 2013
  26. May 15, 2013
  27. May 13, 2013
Loading