Skip to content

[ul] Fix association establishment in presence of Extended Negotiation#727

Merged
Enet4 merged 2 commits intoEnet4:masterfrom
pgimeno4d:fix-extended-negotiation-serialization
Feb 5, 2026
Merged

[ul] Fix association establishment in presence of Extended Negotiation#727
Enet4 merged 2 commits intoEnet4:masterfrom
pgimeno4d:fix-extended-negotiation-serialization

Conversation

@pgimeno4d
Copy link
Copy Markdown
Contributor

Remove the length field for the Service-class-application-information field, which is not supposed to have one. Add a unit test which tests the A-ASSOCIATE-RQ request against a full bytestream, and checks that it round-trips.

Fixes #725

@Enet4 Enet4 self-requested a review January 29, 2026 17:34
@Enet4 Enet4 added bug This is a bug A-lib Area: library C-ul Crate: dicom-ul labels Jan 29, 2026
@pgimeno4d pgimeno4d force-pushed the fix-extended-negotiation-serialization branch from 6f7d7e2 to eac940a Compare January 29, 2026 17:36
@pgimeno4d
Copy link
Copy Markdown
Contributor Author

Force-pushed after noticing a blunder. Sorry about that.

Copy link
Copy Markdown
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you for providing this fix!

I am only leaving a few suggestions to the comments and formatting before I send it upstream.

Copy link
Copy Markdown
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much! 👍

@Enet4 Enet4 merged commit 898a091 into Enet4:master Feb 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lib Area: library bug This is a bug C-ul Crate: dicom-ul

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Library does not respond to A-ASSOCIATE-RQ if Extended Negotiation item is present

2 participants