Latest cgminer from git doesn't seem to want to do long polling in conjunction with p2pool any more. Pastebin link to log:
http://pastebin.com/g3A3z1hb (note line 46, where the long polling URL is sent)
After reverting to 2.8.7 (git checkout v2.8.7), long polling works again.
Thanks, will investigate.
Confirmed, same there on 2.9.1
cgminer version 2.9.1 - Started: [2012-11-07 15:42:23]
--------------------------------------------------------------------------------
(3s):13.01M (avg):11.27Mh/s | Q:3 A:0 R:1 HW:0 E:0% U:0.0/m
TQ: 0 ST: 1 SS: 0 DW: 0 NB: 1 LW: 0 GF: 0 RF: 0 WU: 0.5
Connected to rav3n.dtdns.net without LP as user toy.gpu
Block: 033c5d4cfc943e4f85e5a5ec... Started: [15:42:23] Best share: 1
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 61.0C 48% | 12.79M/11.27Mh/s | A:0 R:1 HW:0 U:0.00/m I: 0
--------------------------------------------------------------------------------
[2012-11-07 15:42:22] Started cgminer 2.9.1
[2012-11-07 15:42:22] Loaded configuration file cgminer.conf
[2012-11-07 15:42:22] Probing for an alive pool
[2012-11-07 15:42:23] No suitable long-poll found for pool http://rav3n.dtdns.net:9332
[2012-11-07 15:42:47] Rejected b636ebc2 Diff 1/1 GPU 0