~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy-updates

« back to all changes in this revision

Viewing changes to docs/api/APR/Socket.pod

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2006-03-24 02:48:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060324024844-73oxqkcj2jmlmh2t
Tags: 2.0.2-2build1
Fake sync to bring in new upstream bugfixes, UVF exception by mdz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
  $sock->opt_set(APR::Const::SO_NONBLOCK, 1);
279
279
  # ....
280
280
  my $tries = 0;
281
 
  RETRY: my $rlen = eval { $socket->recv(my $buffer, SIZE) };
 
281
  my $buffer;
 
282
  RETRY: my $rlen = eval { $socket->recv($buffer, SIZE) };
282
283
  if ($@)
283
284
      die $@ unless ref $@ && APR::Status::is_EAGAIN($@);
284
285
      if ($tries++ < 3) {