cmd/dlv: add flag to make headless server accept multiple clients

This commit is contained in:
aarzilli
2016-02-01 11:05:26 +01:00
parent 3be65a4c1f
commit c277b27157
3 changed files with 39 additions and 10 deletions

View File

@ -16,4 +16,7 @@ type Config struct {
// AttachPid is the PID of an existing process to which the debugger should
// attach.
AttachPid int
// AcceptMulti configures the server to accept multiple connection
// Note that the server API is not reentrant and clients will have to coordinate
AcceptMulti bool
}