Skip to content

Better ASP Error handling. #5

Merged
pgodwin merged 1 commit intomainfrom
fix-asp-reply
Apr 19, 2026
Merged

Better ASP Error handling. #5
pgodwin merged 1 commit intomainfrom
fix-asp-reply

Conversation

@pgodwin
Copy link
Copy Markdown
Contributor

@pgodwin pgodwin commented Apr 19, 2026

  • Add comments to methods to make it more obvious which parts of the spec is implemented.

  • Checked the error codes against Inside Macintosh, handle invalid session ids gracefully. Previously clients would just get stuck in a loop and we'd just ignore them.

  • Return the correct error code if requests exceed quantum size. Previously we just silently truncated them.

  • double-check sizes and return correct error codes.

  • Get client attention when we stop the services so the client is informed of the shutdown.

Also this seems to have fixed MacTCP! Previously it would hang/crash if the server stopped and started again. It now seems able to establish a new ASP and continue on its way.

 * Add comments to methods to make it more obvious which parts of the spec is implemented.

 * Checked the error codes against Inside Macintosh, handle invalid session ids gracefully. Previously clients would just get stuck in a loop and we'd just ignore them.
  * Return the correct error code if requests exceed quantum size. Previously we just silently truncated them.
  * double-check sizes and return correct error codes.
  * Get client attention when we stop the services so the client is informed of the shutdown.
@pgodwin pgodwin merged commit 29ee373 into main Apr 19, 2026
4 checks passed
@pgodwin pgodwin deleted the fix-asp-reply branch April 19, 2026 03:22
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.

1 participant