summaryrefslogtreecommitdiff
path: root/nslcd_systemd/misc_test.go
AgeCommit message (Collapse)Author
2017-12-18nslcd_{server,systemd}: BREAKING CHANGE: use contextsLuke Shumaker
2017-12-18gofmt nslcd_systemd/misc_test.goLuke Shumaker
2017-09-08nslcd_server: Add a request size limitLuke Shumaker
2017-09-08add a test for tricking the server into allocating huge buffersLuke Shumaker
2017-09-08test: clean up, create a parameterized testDriver()Luke Shumaker
2017-09-08nslcd_{server,systemd}: FIX, BREAKING CHANGE: add limitsLuke Shumaker
Added types: nslcd_server: type Limits struct { ...} nslcd_server: type Conn interface{ ... } // a subset of net.Conn nslcd_server.HandleRequest() signature change: -func HandleRequest(backend Backend, in io.Reader, out io.Writer, cred unix.Ucred) (err error) { +func HandleRequest(backend Backend, limits Limits, conn Conn, cred unix.Ucred) (err error) { The `limits Limits` argument is added, and `conn Conn` replaces `in io.Reader` and `out io.Writer`. nslcd_systemd.Main() signature change: -func Main(backend Backend) uint8 { +func Main(backend Backend, limits nslcd_server.Limits) uint8 { The `limits Limits` argument is added.
2017-09-08add testsLuke Shumaker