From 03b9ebe56ac78d56d1ca734be1483fca69266591 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Sat, 27 Nov 2004 19:20:32 +0000 Subject: [PATCH] Fixed bug in .net loader. Added hostname to file fetch. --- src/osgPlugins/net/ReaderWriterNET.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/net/ReaderWriterNET.cpp b/src/osgPlugins/net/ReaderWriterNET.cpp index c23b167a1..61e4b509f 100644 --- a/src/osgPlugins/net/ReaderWriterNET.cpp +++ b/src/osgPlugins/net/ReaderWriterNET.cpp @@ -272,7 +272,7 @@ class NetReader : public osgDB::ReaderWriter return ReadResult::FILE_NOT_FOUND; } - *sio << "GET /" << fileName << " HTTP/1.1\n" << "Host:\n\n"; + *sio << "GET /" << fileName << " HTTP/1.1\n" << "Host: " << hostname << "\n\n"; sio->flush(); char linebuff[256];