Skip Menu |

This queue is for tickets about the LWP-Authen-OAuth2 CPAN distribution.

Report information
The Basics
Id: 92194
Status: new
Priority: 0/
Queue: LWP-Authen-OAuth2

Owner: Nobody in particular
Requestors: techman83 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Setting Dynamic File Upload causes
Date: Thu, 16 Jan 2014 17:14:41 +0800
To: bug-LWP-Authen-OAuth2 [...]
From: Leon Wright <techman83 [...]>
Download (untitled) / with headers
text/plain 826b
Hi, I hit memory issues uploading youtube videos and noted that LWP by default attempts to slurp the entire file into memory. Setting dynamic file uploads is the common advice: $HTTP::Request::Common::DYNAMIC_FILE_UPLOAD = 1; However it cause causes: Can't store CODE items at /home/leon/perl5/lib/perl5/LWP/Authen/OAuth2/AccessToken/ line 9. I worked around it for now by doing this: #my $actual_request = dclone($request); my $actual_request = $request; Which worked, but I'm not fully across why dclone is being used, so this probably isn't optimal. It's entirely possible I'm misunderstanding something and happy to be told as such. Thanks, Leon -- DRM 'manages access' in the same way that jail 'manages freedom.' # cat /dev/mem | strings | grep -i cats Damn, my RAM is full of cats... MEOW!!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to