1. 06 May, 2017 1 commit
    • Sergey Lyubka's avatar
      Move struct http_message::body · cfe77a3d
      Sergey Lyubka authored
      Rationale: this is the optimisation to make JS FFI-ed API
      work nicer. We don't have strucuture introspection now,
      and do not generate offsets automatially. Thus, using a
      stable well-known location of the parsed message body is
      better, in case of number of HTTP headers macro changes.
      
      PUBLISHED_FROM=55bf25ac77060a9c81dfecd6601f037562530801
      cfe77a3d
  2. 24 Apr, 2017 1 commit
  3. 15 Mar, 2017 1 commit
  4. 10 Nov, 2016 1 commit
  5. 27 Oct, 2016 1 commit
  6. 26 Oct, 2016 1 commit
  7. 04 Oct, 2016 1 commit
    • Deomid Ryabkov's avatar
      Add MG_EV_SSI_CALL_CTX · f9a6403b
      Deomid Ryabkov authored
      This is the variant of MG_EV_SSI_CALL with context of the SSI call being
      processed in addition to the tag argument. Specifically, call handler
      now gets access to the HTTP request and the name of the file being processed.
      
      MG_EV_SSI_CALL is preserved for backward compatibility.
      
      PUBLISHED_FROM=eeea7487c062505abdb23b6f64994ff7a6b60ff8
      f9a6403b
  8. 01 Sep, 2016 1 commit
  9. 09 Aug, 2016 1 commit
    • Deomid Ryabkov's avatar
      Make mg_http_serve_file public · 5fa544fc
      Deomid Ryabkov authored
      A way to serve a single, specific file as opposed to the hairy monster
      that is mg_serve_http.
      
      PUBLISHED_FROM=6ed1bc487b9d41d212a5907337182f23b040aecf
      5fa544fc
  10. 26 Jul, 2016 1 commit
  11. 25 Jul, 2016 2 commits
    • Deomid Ryabkov's avatar
      No-JS mode refactoring · 3feab3a1
      Deomid Ryabkov authored
      Now JS is controlled with a make variable as opposed to a proproc define.
      
      This allows skipping compiling a whole bunch of files when JS is
      disabled, e.g. whole freezing step on ESP, or compiling v7.c on CC3200
      which takes a while only to be discarded in its entirety later.
      
      Var name is SJ_ENABLE_JS (note change from disable logic to enable to be in line with other stuff). Default is 1, meaning JS is enabled.
      
      Also changed clubby knob in the same way: SJ_ENABLE_CLUBBY, default is 1 as well.
      
      PUBLISHED_FROM=105277e9536e423d6363a51ff9acea9550a9c496
      3feab3a1
    • Evelyn's avatar
      Update mg_set_protocol_http_websocket.md · 5d76e57b
      Evelyn authored
      5d76e57b
  12. 22 Jul, 2016 28 commits