1. 25 Mar, 2019 1 commit
    • ROOL's avatar
      Fix ordering issue on init and text clipping · e91f74f8
      ROOL authored
        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().
        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'
  2. 12 May, 2018 2 commits
    • ROOL's avatar
      Error and cookie handling improvements · a4d1d98d
      ROOL authored
        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.
        Submission for TCP/IP bounty.
      Version 0.96. Tagged as 'HTTP-0_96'
    • ROOL's avatar
      Build fix · 920f9213
      ROOL authored
        Use updated AcornSSL.h header location and contents.
        Requires Export-0_10.
      Version 0.95. Tagged as 'HTTP-0_95'
  3. 15 Feb, 1999 1 commit
    • Stewart Brodie's avatar
      Commit of old modified sources from last September. · 13fe28a9
      Stewart Brodie authored
        Added knowledge of OPTIONS and TRACE to the option decoder.
        Now knows about new SWI names of AcornSSL module.
        Tested briefly.
        Requires AcornSSL-0_08 header export to have occurred.
      Version 0.85. Tagged as 'HTTP-0_85'
  4. 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.
        * 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.
        Built from clean; tested on Ursula & 3.70; verified access to
        Electronics Weekly (www.electronicsweekly.co.uk) now works.
      Version 0.83. Tagged as 'HTTP-0_83'
  5. 31 Mar, 1998 1 commit
    • Stewart Brodie's avatar
      * Duplicate header suppression code moved to later in the header generator so... · 3893855a
      Stewart Brodie authored
      * Duplicate header suppression code moved to later in the header generator so that it actually does override user headers as it is supposed to.
        (affects Cookie2 and Accept-Encoding headers)
      * Security code includes header exported by AcornSSL to <CExport$Dir>
        instead of requiring it to be present in a specific place relative to
        the HTTP sources.
  6. 19 Mar, 1998 1 commit
    • Stewart Brodie's avatar
      * https: support infrastructure has been added. The API calls to the · 1f7b228c
      Stewart Brodie authored
        Internet module are now vectored through a look up table so that the
        calls for an https request are sent via the AcornSSL module.   The HTTP
        module will only register https: protocol capability with the URL
        module if the AcornSSL module is present, thus allowing transparent
        addition of SSL support without requiring an update for the HTTP
      * There is no encryption code in the HTTP module at all.  It is all
        confined to the AcornSSL module.