CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 02:27:57 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/andygrunwald/go-jira.git
etag: W/"8ebd4a5a3e6ba4443749e3fa1f0b1941"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=YRIP7Zcg0fBuMmWGOeO9j0NhV0Zo7D2ZWDTpnWg0xsgVZYBpBQM2JBzi8qMkrduTMrDjA0lhr%2FOEj6spx3f1j01MB%2F24VTswEuumTXgETE1bEnAYGZI%2BTFLLwRGUmcSDIWUqdFDDkwX9YJeb8F9cnsSSenakJ2%2FIy9pHDWsgF99R1gYFYieJHcmU7jwfwm5etRtuCM7eywv1Q%2BDJkVTcC67TPhJD15ErznTY%2FQ3CIEep4FZMSKFkbYVsb14eMpb2jQHPIuGsIqvWKCLcyeQCow%3D%3D--Zel9ayZ%2BMrLdkLmG--jWtcSCTsVfTLk58eywQOTA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1592014406.1753669676; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:27:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:27:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9BB2:0A67:7FDEFA:A92010:6886E02C
fix: paging with load balancer going to endless loop · andygrunwald/go-jira@19d3fc0 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 479
Commit 19d3fc0
fix: paging with load balancer going to endless loop
When used with a load balanced Jira, the SearchPages method would end
up in an endless loop. This was caused by a bug where Jira would not
handle the MaxResults=50 that is sent by defaul properly, thus retur-
ning no issues. The SearchPages method didn't check for empty results
and ended up in an endless loop.
Fixed this by
1. Pre-escaping '&maxResults' to '&MaxResults'.
2. Adding a check in SearchPages to see if the issues array is empty
before going into the endless 'for'.
Also fixed the appropriate tests.
Fixes issue #260.1 parent 436469b commit 19d3fc0Copy full SHA for 19d3fc0
File tree
Expand file treeCollapse file tree
2 files changed
+39
-6
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+39
-6
lines changed+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
965 | 965 |
| |
966 | 966 |
| |
967 | 967 |
| |
968 |
| - | |
| 968 | + | |
969 | 969 |
| |
970 | 970 |
| |
971 | 971 |
| |
| |||
1011 | 1011 |
| |
1012 | 1012 |
| |
1013 | 1013 |
| |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
1014 | 1018 |
| |
1015 | 1019 |
| |
1016 | 1020 |
| |
|
+34-5Lines changed: 34 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
| 13 | + | |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
596 | 597 |
| |
597 | 598 |
| |
598 | 599 |
| |
599 |
| - | |
| 600 | + | |
600 | 601 |
| |
601 | 602 |
| |
602 | 603 |
| |
| |||
657 | 658 |
| |
658 | 659 |
| |
659 | 660 |
| |
660 |
| - | |
| 661 | + | |
661 | 662 |
| |
662 | 663 |
| |
663 | 664 |
| |
664 |
| - | |
| 665 | + | |
665 | 666 |
| |
666 | 667 |
| |
667 | 668 |
| |
668 |
| - | |
| 669 | + | |
669 | 670 |
| |
670 | 671 |
| |
671 | 672 |
| |
| |||
690 | 691 |
| |
691 | 692 |
| |
692 | 693 |
| |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
693 | 722 |
| |
694 | 723 |
| |
695 | 724 |
| |
|
You can’t perform that action at this time.
0 commit comments