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

Fixed fetching compressed data from a network mirror server #3208

Merged
merged 5 commits into from
Jun 17, 2024

Conversation

levkohimins
Copy link
Contributor

@levkohimins levkohimins commented Jun 14, 2024

Description

Fixes #3204.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

@levkohimins levkohimins changed the title Bug/provider cache network mirror Fixed fetching compressed data from network mirror server Jun 14, 2024
@levkohimins levkohimins changed the title Fixed fetching compressed data from network mirror server Fixed fetching compressed data from a network mirror server Jun 14, 2024
@levkohimins levkohimins requested a review from yhakbar June 14, 2024 20:21
@levkohimins levkohimins marked this pull request as ready for review June 14, 2024 20:22
return nil
}

// Fetch downloads the file from the given `url` into the specified `dst` file.
Copy link
Member

Choose a reason for hiding this comment

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

FetchToFile...

ln, err := tls.Listen("tcp", "localhost:8888", serverTLSConf)
require.NoError(t, err)

server := (&http.Server{
Copy link
Member

Choose a reason for hiding this comment

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

	server := &http.Server{
			Addr:    ln.Addr().String(),
			Handler: mux,
		}

🤔

Copy link

sonarcloud bot commented Jun 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@levkohimins levkohimins merged commit 2d864f5 into master Jun 17, 2024
4 checks passed
@levkohimins levkohimins deleted the bug/provider-cache-network-mirror branch June 17, 2024 08:11
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.

Provider Cache cannot fetch file from network_mirror with data compression
2 participants