SH-4312 Configuration data between viewer and llcorehttp is clumsy.
Much improved. Unified the global and class options into a single option list. Implemented static and dynamic setting paths as much as possible. Dynamic path does require packet/RPC but otherwise there's near unification. Dynamic modes can't get values back yet due to the response/notifier scheme but this doesn't bother me. Flatten global and class options into simpler struct-like entities. Setter/getter available on these when needed (external APIs) but code can otherwise fiddle directly when it knows what to do. Much duplicated options/state removed from HttpPolicy. Comments cleaned up. Threads better described and consistently mentioned in API docs. Integration test extended for 503 responses with Reply-After headers.
Showing
- indra/llcorehttp/_httpinternal.h 4 additions, 2 deletionsindra/llcorehttp/_httpinternal.h
- indra/llcorehttp/_httplibcurl.h 13 additions, 2 deletionsindra/llcorehttp/_httplibcurl.h
- indra/llcorehttp/_httpoperation.h 4 additions, 4 deletionsindra/llcorehttp/_httpoperation.h
- indra/llcorehttp/_httpoprequest.cpp 8 additions, 11 deletionsindra/llcorehttp/_httpoprequest.cpp
- indra/llcorehttp/_httpopsetget.cpp 71 additions, 22 deletionsindra/llcorehttp/_httpopsetget.cpp
- indra/llcorehttp/_httpopsetget.h 17 additions, 10 deletionsindra/llcorehttp/_httpopsetget.h
- indra/llcorehttp/_httppolicy.cpp 54 additions, 56 deletionsindra/llcorehttp/_httppolicy.cpp
- indra/llcorehttp/_httppolicy.h 25 additions, 14 deletionsindra/llcorehttp/_httppolicy.h
- indra/llcorehttp/_httppolicyclass.cpp 13 additions, 24 deletionsindra/llcorehttp/_httppolicyclass.cpp
- indra/llcorehttp/_httppolicyclass.h 15 additions, 4 deletionsindra/llcorehttp/_httppolicyclass.h
- indra/llcorehttp/_httppolicyglobal.cpp 24 additions, 42 deletionsindra/llcorehttp/_httppolicyglobal.cpp
- indra/llcorehttp/_httppolicyglobal.h 17 additions, 6 deletionsindra/llcorehttp/_httppolicyglobal.h
- indra/llcorehttp/_httpservice.cpp 153 additions, 17 deletionsindra/llcorehttp/_httpservice.cpp
- indra/llcorehttp/_httpservice.h 32 additions, 20 deletionsindra/llcorehttp/_httpservice.h
- indra/llcorehttp/examples/http_texture_load.cpp 4 additions, 3 deletionsindra/llcorehttp/examples/http_texture_load.cpp
- indra/llcorehttp/httpcommon.h 96 additions, 13 deletionsindra/llcorehttp/httpcommon.h
- indra/llcorehttp/httprequest.cpp 62 additions, 45 deletionsindra/llcorehttp/httprequest.cpp
- indra/llcorehttp/httprequest.h 66 additions, 62 deletionsindra/llcorehttp/httprequest.h
- indra/llcorehttp/tests/test_httprequest.hpp 138 additions, 2 deletionsindra/llcorehttp/tests/test_httprequest.hpp
- indra/llcorehttp/tests/test_llcorehttp_peer.py 47 additions, 2 deletionsindra/llcorehttp/tests/test_llcorehttp_peer.py
Loading
Please register or sign in to comment