David Stotijn
David Stotijn
- [x] Add initial protobuf support - [x] Handle new `rollingPeriod` field when storing/listing Diagnosis Keys from the repository. - [ ] Add new endpoint for listing an array of...
Write benchmarks for `api` and `diag` packages, and research options to benchmark `postgres`.
Apple has updated their sample code on May 6 ([ref](https://github.com/dstotijn/BuildingAnAppToNotifyUsersOfCOVID19Exposure/commit/9d26dc1c7fcdd18c6fb1aa54950ba8f2f3c64e92)), following changes to the framework’s [`detectExposures`](https://developer.apple.com/documentation/exposurenotification/enmanager/3586331-detectexposures) method. The server should be updated accordingly to support this new logic.
Closes #22
With this change, DNS rebinding attacks on the admin routes should no longer be possible, and result in a `502 Bad Gateway` response. To test: ```sh curl -X POST http://localhost:8080/api/graphql/...
- Allow changing request before it's sent. - Allow changing response before it's written to client.
Proxying WebSockets (e.g. the upgrade process and handling frames) is not working at all. Should check if it's feasible with `httputil.ReverseProxy` and what the solution can be.