@@ -210,15 +210,9 @@ like($r, qr/^X-Del: world/m, 'geo delete');
210210like($r , qr / ^X-Ran: loopback/ m , ' geo ranges' );
211211like($r , qr / ^X-RIn: loopback/ m , ' geo ranges include' );
212212
213- TODO: {
214- todo_skip ' use-after-free' , 2 unless $ENV {TEST_NGINX_UNSAFE }
215- or $t -> has_version(' 1.11.4' );
216-
217213like(http_get(' /2' ), qr / ^X-RDe: default/ m , ' geo ranges delete' );
218214like(http_get(' /2' ), qr / ^X-RD2: default/ m , ' geo ranges delete 2' );
219215
220- }
221-
222216like($r , qr / ^X-ABe: loopback/ m , ' geo ranges add before' );
223217like($r , qr / ^X-AAf: loopback/ m , ' geo ranges add after' );
224218like($r , qr / ^X-Ins: loopback/ m , ' geo ranges insert' );
@@ -229,16 +223,9 @@ like(http_get('/1?ip=192.0.2.1'), qr/^X-Arg: test/m, 'geo from variable');
229223like(http_get(' /1?ip=10.0.0.1' ), qr / ^X-Arg: default/ m , ' geo default' );
230224like(http_get(' /1?ip=10.0.0.1' ), qr / ^X-ARa: default/ m , ' geo ranges default' );
231225like(http_get(' /1?ip=10.13.2.1' ), qr / ^X-ARa: foo2/ m , ' geo ranges add' );
232-
233- TODO: {
234- todo_skip ' use-after-free' , 1 unless $ENV {TEST_NGINX_UNSAFE }
235- or $t -> has_version(' 1.11.4' );
236-
237226like(http_get(' /1?ip=10.11.2.1' ), qr / ^X-ARa: default/ m ,
238227 ' geo delete range from variable' );
239228
240- }
241-
242229like(http_xff(' 192.0.2.1' ), qr / ^X-XFF: test/ m , ' geo proxy' );
243230like(http_xff(' 10.0.0.1' ), qr / ^X-XFF: default/ m , ' geo proxy default' );
244231like(http_xff(' 10.0.0.1, 192.0.2.1' ), qr / ^X-XFF: test/ m , ' geo proxy long' );
0 commit comments