Fixed HTTP embed code problems.
This commit is contained in:
parent
2769e41258
commit
78aa855084
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
namespace Mist {
|
namespace Mist {
|
||||||
OutHTTP::OutHTTP(Socket::Connection & conn) : HTTPOutput(conn){
|
OutHTTP::OutHTTP(Socket::Connection & conn) : HTTPOutput(conn){
|
||||||
if (myConn.getSocket() >= 0){
|
if (myConn.getPureSocket() >= 0){
|
||||||
std::string host = myConn.getHost();
|
std::string host = myConn.getHost();
|
||||||
dup2(myConn.getSocket(), STDIN_FILENO);
|
dup2(myConn.getSocket(), STDIN_FILENO);
|
||||||
dup2(myConn.getSocket(), STDOUT_FILENO);
|
dup2(myConn.getSocket(), STDOUT_FILENO);
|
||||||
|
|
Loading…
Add table
Reference in a new issue