Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements in EmbedIO.Net.Internal namespace; also, component collections are back. #448

Merged
merged 18 commits into from
Feb 11, 2020

Conversation

rdeago
Copy link
Collaborator

@rdeago rdeago commented Feb 11, 2020

In preparation for version 4.0, I made some changes to internal classes.

No breaking changes here; this PR could probably be backported to version 3 if desired.

EDIT: I also added back component collections, so they can be safely removed from SWAN 3.0.

EDIT: Added JSON request deserializer with specified property name casing.

* Do not hold a reference to the context, only to actually used data

* Manage content length vs. chunked consistently

* Manage keep-alive consistently

* Do not create another StringBuilder to append a Set-Cookie header

* Remove unused property ForceCloseChunked

* Avoid StringBuilder.AppendFormat for performance

* Methodize code that ensures that a header-related property can be set

* Use HttpDate.Format to format the Date header
@rdeago rdeago added enhancement v3.x dependencies Pull requests that update a dependency file area:http Issue with HttpListener and related types v4.x area:core Issue with EmbedIO core (server, modules, etc.) labels Feb 11, 2020
@rdeago rdeago requested a review from geoperez February 11, 2020 05:47
@rdeago rdeago self-assigned this Feb 11, 2020
@rdeago rdeago added this to the 4.0.0 milestone Feb 11, 2020
@rdeago rdeago changed the title Some improvements in EmbedIO.Net.Internal namespace Improvements in EmbedIO.Net.Internal namespace, plus some fixes Feb 11, 2020
@rdeago rdeago changed the title Improvements in EmbedIO.Net.Internal namespace, plus some fixes Improvements in EmbedIO.Net.Internal namespace; also, component collections are back. Feb 11, 2020
@lgtm-com
Copy link

lgtm-com bot commented Feb 11, 2020

This pull request fixes 4 alerts when merging cf1c91c into ea4cd3d - view on LGTM.com

fixed alerts:

  • 2 for Constant condition
  • 1 for Locking the 'this' object in a lock statement
  • 1 for Useless assignment to local variable

@lgtm-com
Copy link

lgtm-com bot commented Feb 11, 2020

This pull request fixes 4 alerts when merging aa10086 into ea4cd3d - view on LGTM.com

fixed alerts:

  • 2 for Constant condition
  • 1 for Locking the 'this' object in a lock statement
  • 1 for Useless assignment to local variable

@geoperez
Copy link
Member

EDIT: I also added back component collections, so they can be safely removed from SWAN 3.0.

Got it.

@lgtm-com
Copy link

lgtm-com bot commented Feb 11, 2020

This pull request fixes 4 alerts when merging c069eee into ea4cd3d - view on LGTM.com

fixed alerts:

  • 2 for Constant condition
  • 1 for Locking the 'this' object in a lock statement
  • 1 for Useless assignment to local variable

@geoperez geoperez merged commit b8aa37e into unosquare:master Feb 11, 2020
@rdeago rdeago deleted the NetInternalImprovements branch February 12, 2020 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Issue with EmbedIO core (server, modules, etc.) area:http Issue with HttpListener and related types dependencies Pull requests that update a dependency file enhancement v3.x v4.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants