Possible Arduino 1.0.1 Ethernet Library bug?

Didn't take as long as I thought :slight_smile:

I added some delay in your code to hold the connections open a little longer

pch = strtok(NULL,"& ");
}
Serial.println("Sending response");
delay(200); // add some delay
client.write("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n

TEST

");

client.write("T:
");
client.write("R:
");

and used WebInject as I described in my first post to send consecutive GETs. I Also left the Arduino serial window open to see what was happening and to slow the connection processing down a bit.

I can provoke intermittent GET failures in WebInject by accessing your query form from IE while the WebInject test is running. Note you will need to refresh the IE page frequently to provoke the failures.

In other words your code breaks as well when it sees more than one connection at the same time.