Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prosody : http_file_share_size_limit of second virtualhost is displayed wrongly to default value(1024 kB) #4473

Closed
ecxod opened this issue May 7, 2024 · 2 comments

Comments

@ecxod
Copy link

ecxod commented May 7, 2024

Let's admit we have a configuration like this using mod_http_file_share

VirtualHost "example.de"
...(unrelated things)...

VirtualHost "example2.org"
...(unrelated things)...

Component "share.example.de" "http_file_share"
	http_file_share_size_limit = 1024*1024*1024 --1 GB

Component "share.example2.org" "http_file_share"
	http_file_share_size_limit = 1024*1024*512 --512 MB

or using mod_http_upload

VirtualHost "example.de"
...(unrelated things)...

VirtualHost "example2.org"
...(unrelated things)...

Component "share.example.de" "http_upload"
	http_upload_file_size_limit= 1024*1024*1024 --1 GB

Component "share.example2.org" "http_upload"
	http_upload_file_size_limit= 1024*1024*512 --512 MB

in this case "http_file_share_size_limit" or "http_upload_file_size_limit" of share.example2.org is 512 MB

on conversations it is shown like 1024 KB, what is in fact the wrong value.
the funny part is that it also consequently does not let me upload :))

Screenshot_20240507-013652_b10d9934ec57c6cccee0f0b221b512921b173baf

on gajim it is shown (more or less) correctly

87ed48be-dca3-4553-9916-598439333966_73f53fe578de75132c0a7bd458ad5c468c50dc57

@licaon-kter
Copy link

By any chance, example2.org and share.example2.org both have an identity type='file' in the disco response and both have a max-file-size? The one from example2.org is 1048576 (what Conversations sees)?

You've already asked in the Prosody channel?

/PS: as the Readme says, app repo has long move to https://codeberg.org/iNPUTmice/Conversations but we can continue this here.

@ecxod ecxod closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
@licaon-kter
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants