lzx404243 opened a new pull request, #10246:
URL: https://github.com/apache/trafficserver/pull/10246

   According to doc, the `methods` field is optional so the following should be 
a valid ip_allow config which allows all HTTP methods:
   ```yaml
   ip_allow:
     - apply: in
       ip_addrs: 0/0
       action: allow
   ```
   However, ATS reports an error when parsing it. 
   
   The root cause is that yaml-cpp returns an invalid node for non-existent 
keys, which is fine, but it throws an exception when assigning the invalid node 
to another node. This PR prevents this and added a test.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to