8.3.2.26. v4.3.5ΒΆ

commit 3ad43c2defc56891608584e17578c971bc2fc92b
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Jul 17 13:05:36 2020 -0500

    fix(contentCleanup): Simplify duplicate content cleanup path.

    The code that cleans up duplicate content when loading an immutable
    content layer appears to be overly omplex, and can break in the face
    of a content bundle file name that does not share the name of the
    content as defined by the content metadata.

    Simplify the code by having the ImmutableContent function keep track of
    what to delete and what to keep directly, and emit appropriate logging when
    we decide what to keep vs. what to discard.

M   datastack/content.go
M   datastack/stack.go

commit 12c5e7142b9ac74fce321f8bd805230d21a6e2db
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Jul 9 11:40:43 2020 -0500

    fix(objectReg): Readd plugin provider object registration for frontend.

    THis somehow got lost whilst refactoring datastore out.  Without it,
    the extra routes for added objects would not be added until
    dr-provison got restarted.

M   backend/pluginProviders.go

commit 91017883a1f4551f74a797efcd93dbf17c5042f4
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Jul 6 14:56:55 2020 -0500

    fix(leases and staticfs): Fix a couple of lease and staticFS issues

    * Lease locking was too finegrained, leading to nonsensical addresses
      being generated.  In lieu of debugging that code for now, make the
      lock more coarse-grained without making it a deadlock-prone Mutex.

    * Ignore packes from unconfigured interfaces.  Attempting to process
      packets from interfaces that did not have a valid IPv4 address bound
      to them was causing packets to be lost and/or queue up beyond
      reasonable expectations.  Resolve this by straight-up ignoring
      requests coming in from interfaces that do not have an IPv4 address
      bound to them.

    * Fix proxying through the static file server via http.  It turns out
      we need to set the req.Host as well as the req.URL.Host. Sigh.

M   backend/bootenv.go
M   backend/dataTracker.go
M   backend/dhcpUtils.go
M   backend/fs.go
M   backend/lease.go
M   midlayer/dhcp.go
M   midlayer/dhcpUtil.go
M   midlayer/static_test.go
M   transact/tx.go

commit 404cd0e52a06bc63ba3ba5b83824e9df6295fba0
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Jul 2 15:17:53 2020 -0500

    fix(leases): Leases in PROBE should be removed at startup.

    There is no good reason for leases in the PROBE state to survive
    a reboot, as they will be starting the handshake over again anyways.

M   backend/dataTracker.go

End of Note