Skip to content

Return InvalidRequest if Shutdown has been requested - #5696

Merged
bors[bot] merged 1 commit into
rust-lang:masterfrom
kjeremy:shutdown-invalid-request
Aug 10, 2020
Merged

bors[bot] merged 1 commit into
rust-lang:masterfrom
kjeremy:shutdown-invalid-request

Conversation

@kjeremy

@kjeremy kjeremy commented Aug 9, 2020

Copy link
Copy Markdown
Contributor

From the LSP 3.16 spec: "If a server receives requests after a shutdown request those requests should error with InvalidRequest."

Realized this behavior was missing while looking at #5693. Question on notification behavior is tracked at microsoft/language-server-protocol#1066

@jonas-schievink

Copy link
Copy Markdown
Contributor

bors r+

@bors

bors Bot commented Aug 10, 2020

Copy link
Copy Markdown
Contributor

Merge conflict.

From the LSP 3.16 spec: "If a server receives requests after a shutdown request those requests should error with InvalidRequest."
@kjeremy
kjeremy force-pushed the shutdown-invalid-request branch from de3e7a4 to cf6d14c Compare August 10, 2020 15:03
@kjeremy

kjeremy commented Aug 10, 2020

Copy link
Copy Markdown
Contributor Author

bors r+

@bors

bors Bot commented Aug 10, 2020

Copy link
Copy Markdown
Contributor

@bors
bors Bot merged commit 58711bd into rust-lang:master Aug 10, 2020
@kjeremy
kjeremy deleted the shutdown-invalid-request branch August 10, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants