Httpclient problem

Good Evening,
I have a problem with Httpclient , my script it’s very simple…i have to read an php page

This is my sketch:

  Yún HTTP Client

 This example for the YunShield/Yún shows how create a basic
 HTTP client that connects to the internet and downloads
 content. In this case, you'll connect to the Arduino
 website and download a version of the logo as ASCII text.

 created by Tom igoe
 May 2013

 This example code is in the public domain.

#include <SPI.h>
#include <Bridge.h>
#include <HttpClient.h>

HttpClient client;

void setup() {
  // Bridge takes about two seconds to start up
  // it can be helpful to use the on-board LED
  // as an indicator for when it has initialized
  pinMode(13, OUTPUT);
  digitalWrite(13, LOW);
  digitalWrite(13, HIGH);

  //while (!SerialUSB); // wait for a serial connection

void loop() {
  // Initialize the client library

  // Make a HTTP request:

  // if there are incoming bytes available
  // from the server, read them and print them:
  while (client.available()) {
    char c =;


This script worked before without problems, but now ,in the while, goes in an infinite loop…maybe something change in httpclient?