• Miek Gieben's avatar
    middleware/file: correctly parse the stanza (#658) · 8eda6c7b
    Miek Gieben authored
    * middleware/file: correctly parse the stanza
    
    Parsing the file stanza would give precedence to 'transfer' and ignore
    other bits if it wasn't specified.
    
    This change fixes the parsing. The actually external CNAME retrieval is
    working fine (once the upstream is correctly parsed).
    
    This wasn't caught in tests, because we lack a parsing test for this.
    
    Fixes #657
    
    * Add tests
    8eda6c7b
setup.go 3.49 KB