Permalink
Commits on Feb 4, 2017
  1. Remove some remnants

    choptastic committed Feb 4, 2017
  2. Fix dialyzer warning in simple_bridge_websocket:apply_mask/2.

    dhull committed Feb 3, 2017
    Previously, dialyzer complained:
      simple_bridge_websocket.erl:441: The pattern
      <<<Mask:32/integer-unit:1>>, Data> can never match the type
      <non_neg_integer(),bitstring()>
    
    I believe that the apply_mask(binary(), term()) head is unnecessary,
    but instead of removing it I made a dummy call to silence dialyzer's
    warning.  It's also not clear to me why the execution time of
    apply_mask/3 is being timed, since the time is being discarded.
  3. Remove unnecessary case clause in simple_bridge:make_nocatch/2.

    dhull committed Feb 3, 2017
    Previously, dialyzer complained:
    simple_bridge.erl:106: The variable Other can never match since
    previous clauses completely covered the type {'error','post_too_big' |
    {'file_too_big',_}} | {'ok','not_multipart'} |
    {'ok',[{binary(),binary()}],[#sb_uploaded_file{}]}
Commits on Feb 3, 2017
Commits on Nov 3, 2016
  1. Hotfix file multipart upload vulnerability

    drobakowski committed Nov 3, 2016
    After raising an error while trying to upload multiple files over
    the multipart endpoint, all successful uploaded and temporary saved
    files will now be cleaned up from scratch folder in order to prevent
    orphans and attacks that could easily fill up the disk.
    This is done by extending all raises with the last valid state to be
    able to access and delete all successful uploaded files so far.
  2. Implement CT Test Suite for testing multipart file uploads

    drobakowski committed Nov 3, 2016
    * post_mutlipart/1 represents a compliance test where two
      files with binary random data will be uploaded.
    * post_mutlipart_post_too_big/1 simulates the error case
      where the post body in total is too big.
    * post_mutlipart_file_too_big/1 simulates the error case
      where one of three files is too big.
Commits on Oct 5, 2016
Commits on Sep 6, 2016
  1. Merge pull request #59 from brigadier/master

    choptastic committed on GitHub Sep 6, 2016
    support for cowboy 1.1.x stream without size and chunked response
Commits on Aug 10, 2016
Commits on Aug 9, 2016
Commits on May 8, 2016
Commits on May 6, 2016
Commits on May 3, 2016
  1. Update Changelog

    choptastic committed May 3, 2016
  2. Fix formatting

    choptastic committed May 3, 2016
  3. Tests in place for cookies

    choptastic committed May 3, 2016
  4. Fix indentation

    choptastic committed May 3, 2016
  5. Update yaws dep for test

    choptastic committed May 3, 2016
Commits on Mar 29, 2016
Commits on Feb 7, 2016
Commits on Feb 6, 2016
  1. Update travis again

    choptastic committed Feb 6, 2016
  2. re-add libpam0g-dev

    choptastic committed Feb 6, 2016