Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

http mode should not be always using $HTTP_PROXY #60

Open
@DrDaveD

Description

@DrDaveD

I saw a squid log where stashcp is using the squid.

172.28.23.112 - - [21/Apr/2023:11:28:26.372 -0500] "GET http://128.142.248.156/stashservers.dat?list=xroot HTTP/1.1" 200 1091 TCP_REFRESH_MODIFIED:HIER_DIRECT 107 "- -" "-" "stashcp/6.10.0"
172.28.23.112 - - [21/Apr/2023:11:28:26.388 -0500] "GET http://osg-kansas-city-stashcache.nrp.internet2.edu:8000/osgconnect/public/osg/testfile.txt HTTP/1.1" 200 289 TCP_REFRESH_MODIFIED:HIER_DIRECT 15 "- -" "-" "grab"

It must be honoring $HTTP_PROXY. That's fine for stashservers.dat and small, frequently used files such as testfile.txt, but larger files and low cache re-use can potentially thrash a squid, depending on usage. The OSDF is not supposed to be going through squid. I request that HTTP_PROXY be unset when doing data transfers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions