Improve logging when socket operations fail by OneBlue · Pull Request #13579 · microsoft/WSL
src/windows/service/exe/WslCoreVm.h
Added source_location parameter to AcceptConnection method signature
src/windows/service/exe/WslCoreVm.cpp
Updated AcceptConnection implementation to pass location to socket operations
src/windows/common/socket.hpp
Added source_location parameters to all socket operation function declarations
src/windows/common/socket.cpp
Updated socket functions to accept and use location parameters for enhanced error logging
src/windows/common/hvsocket.hpp
Added source_location parameters to Accept and Connect function declarations
src/windows/common/hvsocket.cpp
Updated hvsocket functions to pass location information through socket operations
src/shared/inc/stringshared.h
Added custom formatter for std::source_location and included source_location header
src/linux/init/util.h
Added source_location parameter to UtilConnectVsock function declaration
src/linux/init/util.cpp
Enhanced UtilConnectVsock error logging to include caller location information