1. 21 Jun, 2021 3 commits
  2. 19 Jun, 2021 6 commits
  3. 28 May, 2021 5 commits
  4. 22 Apr, 2020 1 commit
    • Matthew Phillips's avatar
      Implement SNI when making secure connections · 9cb08bd8
      Matthew Phillips authored
      Change to enable fetcher to connect to make secure connections to servers
      which require Server Name Identification (SNI). Also ensures that the name
      of the server is verified against the certificate for other secure
      connections.
      
      Version 1.04. Tagged as 'HTTP-1_04'
      9cb08bd8
  5. 06 Apr, 2019 1 commit
    • ROOL's avatar
      Fix for race condition fetching headers · 1c9549ea
      ROOL authored
      Detail:
        There was an assumption that if the recv() in http_read_more_header() returned an error, the subsequent recv() in http_reading_response() would also return the same error. However, if callbacks were allowed to run in between and data arrived from the server, the 2nd recv() can return data.
        In turn, this caused the statemachine to believe it was now reading the body, and forced AcornHTTP to invent a fake header for the client - when neither situation was true.
        Change the logic so that EWOULDBLOCK keeps the state machine in reading mode, other errors (or closed connection) stop as before.
      
        Unrelated - header.c corrects grammar, start.c uses boolean initialiser.
      Admin:
        Submission for TCP/IP bounty.
      
      Version 1.03. Tagged as 'HTTP-1_03'
      1c9549ea
  6. 31 Mar, 2019 1 commit
    • ROOL's avatar
      Build fix · 698b6caf
      ROOL authored
      Detail:
        SWIPREFIX != TARGET for this component, so the exported header was empty.
      
      Version 1.02. Tagged as 'HTTP-1_02'
      698b6caf
  7. 25 Mar, 2019 1 commit
    • ROOL's avatar
      Fix ordering issue on init and text clipping · e91f74f8
      ROOL authored
      Detail:
        When AcornHTTP starts it tries to register itself with URL, which triggers a service call (for HTTP arriving) which in turn triggers AcornSSL to (re)report it is loaded. However, if AcornSSL is loaded *before* HTTP then the service call is missed because HTTP's service call handler isn't yet linked into the service call chain.
        Fix this by looking for a telltale SWI in security_init().
      Admin:
        Reported by Matthew Phillips when trying to load URL/HTTP on a system on which AcornSSL had been loaded beforehand.
        Also clip the text shown by *URLProtoShow to end at the closing bracket of the date (more recent AcornSSL modules add the version of mbedTLS to which they were linked, which spilled over the column end).
      
      Version 1.01. Tagged as 'HTTP-1_01'
      e91f74f8
  8. 25 Sep, 2018 1 commit
    • Robert Sprowson's avatar
      Fix possible NULL pointer dereference, add clarity · 74324bbb
      Robert Sprowson authored
      decompress.c: remove double assignment to ses->compression, let it fall through
      start.c: don't dereference 'ses' until after the check for it being NULL
      Found by cppcheck static analysis.
      
      Version 1.00. Tagged as 'HTTP-1_00'
      74324bbb
  9. 25 Aug, 2018 1 commit
    • ROOL's avatar
      Show live build date rather than hardwired one · 7331271d
      ROOL authored
      Detail:
        When AcornHTTP is registering on behalf of AcornSSL with the URL module, it makes up an info string using the live version number.
        Use the AcornSSL module date too, rather than that of AcornHTTP.
      Admin:
        Submission for TCP/IP bounty.
      
      Version 0.99. Tagged as 'HTTP-0_99'
      7331271d
  10. 19 May, 2018 1 commit
    • ROOL's avatar
      Finish implementation of head/body/both flags · 9ec7d39a
      ROOL authored
      Detail:
        Per Docs/SWIs the flags in R5 (or R2 b8-15) should allow a client to request only the head/body or both, but the implementation was incomplete in places.
        Where http_write_data_to_client() is called, check what the request was and filter appropriately.
      Admin:
        Submission from Chris Mahoney.
      
      Version 0.98. Tagged as 'HTTP-0_98'
      9ec7d39a
  11. 17 May, 2018 1 commit
    • Robert Sprowson's avatar
      Correction to resources path · 8e124197
      Robert Sprowson authored
      Remove hardwired path element, use Module_Title instead.
      Delete (already disabled) TinyStubs support.
      Delete support for old CMHG.
      
      Version 0.97. Tagged as 'HTTP-0_97'
      8e124197
  12. 13 May, 2018 1 commit
    • ROOL's avatar
      Build fix · fd0504d7
      ROOL authored
      Detail:
        Account for TARGET != COMPONENT
      fd0504d7
  13. 12 May, 2018 3 commits
    • ROOL's avatar
      Error and cookie handling improvements · a4d1d98d
      ROOL authored
      Detail:
        Use GETDCI4ERRNO macro to safely extract errno from RISC OS error blocks.
        Fix for NULL pointer dereference when adding the first cookie to the cookie queue.
      Admin:
        Submission for TCP/IP bounty.
      
      Version 0.96. Tagged as 'HTTP-0_96'
      a4d1d98d
    • ROOL's avatar
      Build fix · 920f9213
      ROOL authored
      Detail:
        Use updated AcornSSL.h header location and contents.
      Admin:
        Requires Export-0_10.
      
      Version 0.95. Tagged as 'HTTP-0_95'
      920f9213
    • ROOL's avatar
      Makefile recreated from fragments · 21c94170
      ROOL authored
      Detail:
        Now exports its SWIs to Interface/HTTP.h
        Replaced defunct www.acorn.com address in the test program.
      Admin:
        Submission for TCP/IP bounty.
      
      Version 0.94. Tagged as 'HTTP-0_94'
      21c94170
  14. 05 Jul, 2014 1 commit
  15. 14 Jan, 2012 1 commit
  16. 07 Oct, 2008 1 commit
  17. 13 Sep, 2007 1 commit
    • Steve Revill's avatar
      Minor tidy-up. · 12265658
      Steve Revill authored
      Detail:
        Made cvs version of sources match Batch One release.
      Admin:
        No code change.
      
      Version 0.91. Tagged as 'HTTP-0_91'
      12265658
  18. 26 Jan, 2007 1 commit
    • Steve Revill's avatar
      Minor tweaks to build and install correctly. · 72e0f7de
      Steve Revill authored
      Detail:
        Some changes were required in order for this component to build and install
        correctly. These changes are required for the ROOL 'Browse' build.
      Admin:
        Tested in Iyonix 'Browse' build using ROOL 'BuildEnv' build environment
      
      Version 0.90. Tagged as 'HTTP-0_90'
      72e0f7de
  19. 07 Feb, 2001 1 commit
    • Stewart Brodie's avatar
      Sets the server response code. · 77d2ff05
      Stewart Brodie authored
      Detail:
        The Status SWI should be returning the server response code in R2,
          but is always returning 0 because it never bothers to parse the
          top header in the response.  This is now done.
      Admin:
        Reported by gerph.
        Tested.
      
      Version 0.89. Tagged as 'HTTP-0_89'
      77d2ff05
  20. 01 Nov, 2000 1 commit
    • David Cotton's avatar
      Now works in ROM builds. · 58580627
      David Cotton authored
      Detail:
         The definition of DEBLIBS was causing the build to fail. Commented this
      definition out. Also changed the name of the component for the rom_link phase
      to AcornHTTP so it links.
      
      Admin:
         Tested in an NC build.
      
      Version 0.88. Tagged as 'HTTP-0_88'
      58580627
  21. 31 Oct, 2000 1 commit
    • Stewart Brodie's avatar
      Added ${OPTIONS} to the DFLAGS macro. · eaded0e6
      Stewart Brodie authored
      Detail:
        When passing options to this component, you may specify:
          -UCOOKIE               - removes cookie support
          -UCOMPRESSION          - removes on-the-fly decompression support
      Admin:
        Options added to reduce module size.
      
      Version 0.87. Tagged as 'HTTP-0_87'
      eaded0e6
  22. 20 May, 1999 1 commit
    • Stewart Brodie's avatar
      Adds missing Content-Type header to form postings. · 9164c472
      Stewart Brodie authored
      Detail:
        The NT based CTS plugin fails to put Content-Type headers in
          posted form submissions.  The Microsoft server seems happy
          with this illegal form, but AcornHTTP isn't - and it decides
          that the post attempt is bogus and rejects it.  Instead of
          that, it now adds the application/x-www-form-urlencoded
          as the default content type.
      Admin:
        Tested by proxying the NT plugin via WebServe and verified that
          the content-type is being added.
      
      Version 0.86. Tagged as 'HTTP-0_86'
      9164c472
  23. 15 Feb, 1999 1 commit
    • Stewart Brodie's avatar
      Commit of old modified sources from last September. · 13fe28a9
      Stewart Brodie authored
      Detail:
        Added knowledge of OPTIONS and TRACE to the option decoder.
        Now knows about new SWI names of AcornSSL module.
      Admin:
        Tested briefly.
        Requires AcornSSL-0_08 header export to have occurred.
      
      Version 0.85. Tagged as 'HTTP-0_85'
      13fe28a9
  24. 16 Sep, 1998 1 commit
  25. 24 Aug, 1998 1 commit
    • Stewart Brodie's avatar
      Cookie header parser tweaked to strip redundant characters. · 1f905a0f
      Stewart Brodie authored
        Updated version number control to srccommit.
        AcornSSL version mismatch detection code added for safety.
        No longer enables event generation for HTTP sockets.
      Detail:
        * Cookie parser was getting confused by a trailing ; character on
        the end of set-cookie headers being sent to it by the Electronics
        Weekly web server.  This meant that it was rejecting the key
        cookie being used to control access to the site thus preventing
        people from accessing the site.
        * AcornHTTP now checks that the AcornSSL module is implementing a
        known SWI interface (the AcornSSL SWI interface changed in 0.03)
        * No longer uses ioctl(..FIOASYNC..) to enable event generation as
        the events aren't required and it wastes system resource to have
        them going off.
        * Makefile contains rules for generating .i files suitable for
        feeding to the McCabe toolset.
      Admin:
        Built from clean; tested on Ursula & 3.70; verified access to
        Electronics Weekly (www.electr...
      1f905a0f
  26. 07 May, 1998 1 commit
  27. 01 May, 1998 1 commit